#EF5797

Closest named color: Medium Pink (#F36196). oklch(67.5% 0.195 357.6), rgb(239, 87, 151).

Aa

Black text reads best on this color (6.48:1).

About this color

#EF5797 is a medium-light, vivid red. In OKLCH its lightness is 68%, its chroma 0.195 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Pink (#F36196), ΔE 0.022 away. Black text reads best on it, at 6.48:1.

Hue familyReds
Lightnessmedium-light (68%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameMedium Pink (#F36196)
Black text6.48:1
White text3.24:1

Values

HEX#EF5797
RGBrgb(239, 87, 151)
HSLhsl(335, 83%, 64%)
OKLCHoklch(67.5% 0.195 357.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #EF5797 3.24:1 AA large text Lc -64.2 Content text, not long reading
Black text on #EF5797 6.48:1 AA Lc 45.3 Large or bold text, headings
#EF5797 text on white 3.24:1 AA large text Lc 58.8 Large or bold text, headings
#EF5797 text on black 6.48:1 AA Lc -42.9 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #FFF1F5

    oklch(97% 0.016 358)

  2. Step 100

    100

    #FFE1EA

    oklch(93.7% 0.035 357.7)

  3. Step 200

    200

    #FFC7D9

    oklch(88.4% 0.067 357.4)

  4. Step 300

    300

    #FF9FC1

    oklch(80.9% 0.12 357.4)

  5. Step 400

    400 (this color)

    #EF5797

    oklch(67.5% 0.195 357.6)

  6. Step 500

    500

    #F2178A

    oklch(63% 0.249 357.5)

  7. Step 600

    600

    #CF0074

    oklch(55.6% 0.227 357.4)

  8. Step 700

    700

    #AF0061

    oklch(49% 0.2 357.5)

  9. Step 800

    800

    #91004F

    oklch(42.7% 0.174 357.7)

  10. Step 900

    900

    #7A0042

    oklch(37.7% 0.154 357.4)

  11. Step 950

    950

    #4A0526

    oklch(27.1% 0.102 358.4)

Export this scale for Tailwind in the Tailwind colors tool

#EF5797 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#727D990.217
Deuteranopia (no green cones)#9B99930.196
Tritanopia (no blue cones)#FF49710.058
Achromatopsia (no color)#8F8F8F0.197

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #EF5797

    #EF5797

    oklch(67.5% 0.195 357.6)

  • #00AF96

    #00AF96

    oklch(67.4% 0.124 177.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EF5797

    #EF5797

    oklch(67.5% 0.195 357.6)

  • #D363D3

    #D363D3

    oklch(67.5% 0.195 327.5)

  • #F85A4E

    #F85A4E

    oklch(67.6% 0.195 27.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #EF5797

    #EF5797

    oklch(67.5% 0.195 357.6)

  • #0AB548

    #0AB548

    oklch(67.5% 0.195 147.7)

  • #00AABB

    #00AABB

    oklch(67.5% 0.116 207.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EF5797

    #EF5797

    oklch(67.5% 0.195 357.6)

  • #90A200

    #90A200

    oklch(67.4% 0.156 117.4)

  • #00A2E7

    #00A2E7

    oklch(67.6% 0.149 237.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EF5797

    #EF5797

    oklch(67.5% 0.195 357.6)

  • #BA9000

    #BA9000

    oklch(67.4% 0.138 87.8)

  • #00AF96

    #00AF96

    oklch(67.4% 0.124 177.6)

  • #698FFF

    #698FFF

    oklch(67.5% 0.171 267.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #EF5797, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #EF5797 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.