#EF04A4

Closest named color: Shocking Pink (#FE02A2). oklch(63.1% 0.264 348.2), rgb(239, 4, 164).

Aa

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

About this color

#EF04A4 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.264 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Shocking Pink (#FE02A2), ΔE 0.031 away. Black text reads best on it, at 5.22:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.264)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.22:1
White text4.02:1

Values

HEX#EF04A4
RGBrgb(239, 4, 164)
HSLhsl(319, 97%, 48%)
OKLCHoklch(63.1% 0.264 348.2)

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 #EF04A4 4.02:1 AA large text Lc -70.3 Content text, not long reading
Black text on #EF04A4 5.22:1 AA Lc 39.2 Non-text elements, placeholder text
#EF04A4 text on white 4.02:1 AA large text Lc 64.8 Content text, not long reading
#EF04A4 text on black 5.22:1 AA Lc -36.8 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

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FEE0EE

    oklch(93.5% 0.038 348)

  3. Step 200

    200

    #FEC7E1

    oklch(88.6% 0.071 348.6)

  4. Step 300

    300

    #FE9DCF

    oklch(80.9% 0.13 348.2)

  5. Step 400

    400

    #F85FB6

    oklch(70.8% 0.206 348.5)

  6. Step 500

    500 (this color)

    #EF04A4

    oklch(63.1% 0.264 348.2)

  7. Step 600

    600

    #CA008A

    oklch(55.5% 0.233 348.2)

  8. Step 700

    700

    #AB0074

    oklch(49% 0.206 348.3)

  9. Step 800

    800

    #8E005F

    oklch(42.8% 0.179 348.6)

  10. Step 900

    900

    #770050

    oklch(37.7% 0.158 347.9)

  11. Step 950

    950

    #49032F

    oklch(27.1% 0.109 348.8)

Export this scale for Tailwind in the Tailwind colors tool

#EF04A4 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)#4367A70.302
Deuteranopia (no green cones)#858BA00.258
Tritanopia (no blue cones)#FF00600.109
Achromatopsia (no color)#7F7F7F0.266

Harmonies

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

Complementary

The opposite hue (180°).

  • #EF04A4

    #EF04A4

    oklch(63.1% 0.264 348.2)

  • #00A17B

    #00A17B

    oklch(63% 0.127 168.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EF04A4

    #EF04A4

    oklch(63.1% 0.264 348.2)

  • #C839EC

    #C839EC

    oklch(63.1% 0.263 318.5)

  • #FD004A

    #FD004A

    oklch(63% 0.252 18.2)

Open the analogous palette in the generator

Split complementary

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

  • #EF04A4

    #EF04A4

    oklch(63.1% 0.264 348.2)

  • #40A300

    #40A300

    oklch(63.1% 0.196 138.3)

  • #009DA1

    #009DA1

    oklch(63.2% 0.107 198)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EF04A4

    #EF04A4

    oklch(63.1% 0.264 348.2)

  • #928F00

    #928F00

    oklch(63.2% 0.136 108.3)

  • #0097C4

    #0097C4

    oklch(63.2% 0.123 228.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EF04A4

    #EF04A4

    oklch(63.1% 0.264 348.2)

  • #B47E00

    #B47E00

    oklch(63.1% 0.131 78.5)

  • #00A17B

    #00A17B

    oklch(63% 0.127 168.5)

  • #2E84FF

    #2E84FF

    oklch(63% 0.2 258.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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