#ED40AC

Closest named color: Barbie Pink (#FE46A5). oklch(65.8% 0.231 347.1), rgb(237, 64, 172).

Aa

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

About this color

#ED40AC is a medium-light, vivid red. In OKLCH its lightness is 66%, its chroma 0.231 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Barbie Pink (#FE46A5), ΔE 0.039 away. Black text reads best on it, at 5.92:1.

Hue familyReds
Lightnessmedium-light (66%)
Chromavivid (0.231)
Temperaturewarm
Nearest nameBarbie Pink (#FE46A5)
Black text5.92:1
White text3.54:1

Values

HEX#ED40AC
RGBrgb(237, 64, 172)
HSLhsl(323, 83%, 59%)
OKLCHoklch(65.8% 0.231 347.1)

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 #ED40AC 3.54:1 AA large text Lc -67.2 Content text, not long reading
Black text on #ED40AC 5.92:1 AA Lc 42.4 Non-text elements, placeholder text
#ED40AC text on white 3.54:1 AA large text Lc 61.7 Content text, not long reading
#ED40AC text on black 5.92:1 AA Lc -40.0 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 500.

  1. Step 50

    50

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FBE2EE

    oklch(93.6% 0.031 347.1)

  3. Step 200

    200

    #F9C9E1

    oklch(88.5% 0.062 346.9)

  4. Step 300

    300

    #F6A3CF

    oklch(81% 0.112 346.8)

  5. Step 400

    400

    #ED6BB6

    oklch(70.7% 0.18 347)

  6. Step 500

    500 (this color)

    #ED40AC

    oklch(65.8% 0.231 347.1)

  7. Step 600

    600

    #CA008D

    oklch(55.7% 0.235 347.1)

  8. Step 700

    700

    #AB0077

    oklch(49.2% 0.207 347)

  9. Step 800

    800

    #8D0061

    oklch(42.7% 0.18 347.2)

  10. Step 900

    900

    #740A51

    oklch(37.6% 0.151 346.6)

  11. Step 950

    950

    #450B2F

    oklch(27% 0.096 347.4)

Export this scale for Tailwind in the Tailwind colors tool

#ED40AC 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)#5875AF0.257
Deuteranopia (no green cones)#8C93A80.225
Tritanopia (no blue cones)#FD3A710.092
Achromatopsia (no color)#8888880.233

Harmonies

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

Complementary

The opposite hue (180°).

  • #ED40AC

    #ED40AC

    oklch(65.8% 0.231 347.1)

  • #00AB80

    #00AB80

    oklch(65.8% 0.135 167.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ED40AC

    #ED40AC

    oklch(65.8% 0.231 347.1)

  • #C856EC

    #C856EC

    oklch(65.9% 0.23 317.1)

  • #FF385C

    #FF385C

    oklch(65.8% 0.231 17.1)

Open the analogous palette in the generator

Split complementary

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

  • #ED40AC

    #ED40AC

    oklch(65.8% 0.231 347.1)

  • #4CAB00

    #4CAB00

    oklch(65.7% 0.2 137.1)

  • #00A6A9

    #00A6A9

    oklch(65.8% 0.112 197.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ED40AC

    #ED40AC

    oklch(65.8% 0.231 347.1)

  • #9C9600

    #9C9600

    oklch(65.7% 0.141 106.8)

  • #00A0CD

    #00A0CD

    oklch(65.8% 0.127 226.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ED40AC

    #ED40AC

    oklch(65.8% 0.231 347.1)

  • #C08400

    #C08400

    oklch(65.7% 0.138 76.7)

  • #00AB80

    #00AB80

    oklch(65.8% 0.135 167.1)

  • #3D8FFF

    #3D8FFF

    oklch(65.7% 0.184 257.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #ED40AC.

Similar named colors

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

Use #ED40AC 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.