#EF228E

Closest named color: Neon Pink (#F72585). oklch(63.1% 0.243 356), rgb(239, 34, 142).

Aa

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

About this color

#EF228E is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.243 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Neon Pink (#F72585), ΔE 0.023 away. Black text reads best on it, at 5.28:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.243)
Temperaturewarm
Nearest nameNeon Pink (#F72585)
Black text5.28:1
White text3.97:1

Values

HEX#EF228E
RGBrgb(239, 34, 142)
HSLhsl(328, 86%, 54%)
OKLCHoklch(63.1% 0.243 356)

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 #EF228E 3.97:1 AA large text Lc -70.5 Content text, not long reading
Black text on #EF228E 5.28:1 AA Lc 39.0 Non-text elements, placeholder text
#EF228E text on white 3.97:1 AA large text Lc 65.0 Content text, not long reading
#EF228E text on black 5.28:1 AA Lc -36.6 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

    #FFF1F6

    oklch(97.1% 0.016 353.6)

  2. Step 100

    100

    #FEE1EA

    oklch(93.6% 0.034 357)

  3. Step 200

    200

    #FEC8DA

    oklch(88.5% 0.065 356.6)

  4. Step 300

    300

    #FEA0C3

    oklch(81% 0.119 356.2)

  5. Step 400

    400

    #F864A4

    oklch(70.7% 0.191 356.2)

  6. Step 500

    500 (this color)

    #EF228E

    oklch(63.1% 0.243 356)

  7. Step 600

    600

    #CE0077

    oklch(55.5% 0.227 356.1)

  8. Step 700

    700

    #AF0064

    oklch(49.1% 0.201 356.2)

  9. Step 800

    800

    #910052

    oklch(42.8% 0.175 356.1)

  10. Step 900

    900

    #7A0044

    oklch(37.8% 0.155 356.2)

  11. Step 950

    950

    #490628

    oklch(27.1% 0.101 356.1)

Export this scale for Tailwind in the Tailwind colors tool

#EF228E 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)#5668900.276
Deuteranopia (no green cones)#8E8D8A0.244
Tritanopia (no blue cones)#FF00580.081
Achromatopsia (no color)#8080800.245

Harmonies

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

Complementary

The opposite hue (180°).

  • #EF228E

    #EF228E

    oklch(63.1% 0.243 356)

  • #00A087

    #00A087

    oklch(63.1% 0.118 176.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EF228E

    #EF228E

    oklch(63.1% 0.243 356)

  • #CF3ED5

    #CF3ED5

    oklch(63.1% 0.243 326.3)

  • #FB212E

    #FB212E

    oklch(63.1% 0.243 26)

Open the analogous palette in the generator

Split complementary

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

  • #EF228E

    #EF228E

    oklch(63.1% 0.243 356)

  • #00A635

    #00A635

    oklch(63.1% 0.193 146)

  • #009BA9

    #009BA9

    oklch(63% 0.108 206.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EF228E

    #EF228E

    oklch(63.1% 0.243 356)

  • #869300

    #869300

    oklch(63.1% 0.144 115.9)

  • #0094D0

    #0094D0

    oklch(63.1% 0.136 236.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EF228E

    #EF228E

    oklch(63.1% 0.243 356)

  • #AC8200

    #AC8200

    oklch(63% 0.129 85.7)

  • #00A087

    #00A087

    oklch(63.1% 0.118 176.3)

  • #507FFF

    #507FFF

    oklch(63.1% 0.197 265.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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