#EC229A

Closest named color: Shocking Pink (#FE02A2). oklch(63% 0.246 351.4), rgb(236, 34, 154).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.246)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.26:1
White text3.99:1

Values

HEX#EC229A
RGBrgb(236, 34, 154)
HSLhsl(324, 84%, 53%)
OKLCHoklch(63% 0.246 351.4)

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 #EC229A 3.99:1 AA large text Lc -70.8 Content text, not long reading
Black text on #EC229A 5.26:1 AA Lc 38.8 Non-text elements, placeholder text
#EC229A text on white 3.99:1 AA large text Lc 65.3 Content text, not long reading
#EC229A text on black 5.26:1 AA Lc -36.4 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

    #FDE1EC

    oklch(93.6% 0.034 352)

  3. Step 200

    200

    #FDC8DE

    oklch(88.6% 0.066 351.8)

  4. Step 300

    300

    #FCA0CA

    oklch(81% 0.12 351.2)

  5. Step 400

    400

    #F564AE

    oklch(70.6% 0.193 351.4)

  6. Step 500

    500 (this color)

    #EC229A

    oklch(63% 0.246 351.4)

  7. Step 600

    600

    #CC0083

    oklch(55.6% 0.231 351.2)

  8. Step 700

    700

    #AD006E

    oklch(49.2% 0.204 351.3)

  9. Step 800

    800

    #8F005A

    oklch(42.7% 0.177 351.4)

  10. Step 900

    900

    #78004B

    oklch(37.7% 0.156 351.3)

  11. Step 950

    950

    #48072C

    oklch(27.1% 0.101 351.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC229A 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)#4F699D0.280
Deuteranopia (no green cones)#898C960.244
Tritanopia (no blue cones)#FE005F0.092
Achromatopsia (no color)#7F7F7F0.248

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC229A

    #EC229A

    oklch(63% 0.246 351.4)

  • #00A180

    #00A180

    oklch(63.1% 0.123 171.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC229A

    #EC229A

    oklch(63% 0.246 351.4)

  • #C840E0

    #C840E0

    oklch(63% 0.246 321.2)

  • #FB1740

    #FB1740

    oklch(63% 0.246 21.4)

Open the analogous palette in the generator

Split complementary

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

  • #EC229A

    #EC229A

    oklch(63% 0.246 351.4)

  • #20A600

    #20A600

    oklch(63.1% 0.209 141.4)

  • #009CA4

    #009CA4

    oklch(63% 0.107 201.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC229A

    #EC229A

    oklch(63% 0.246 351.4)

  • #8D9000

    #8D9000

    oklch(63% 0.139 111.3)

  • #0095C8

    #0095C8

    oklch(62.9% 0.128 231.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC229A

    #EC229A

    oklch(63% 0.246 351.4)

  • #B17F00

    #B17F00

    oklch(63% 0.13 80.8)

  • #00A180

    #00A180

    oklch(63.1% 0.123 171.4)

  • #3E82FF

    #3E82FF

    oklch(63% 0.199 261.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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