#EC229E

Closest named color: Shocking Pink (#FE02A2). oklch(63.2% 0.248 350.1), rgb(236, 34, 158).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.248)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.28:1
White text3.97:1

Values

HEX#EC229E
RGBrgb(236, 34, 158)
HSLhsl(323, 84%, 53%)
OKLCHoklch(63.2% 0.248 350.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 #EC229E 3.97:1 AA large text Lc -70.6 Content text, not long reading
Black text on #EC229E 5.28:1 AA Lc 39.0 Non-text elements, placeholder text
#EC229E text on white 3.97:1 AA large text Lc 65.1 Content text, not long reading
#EC229E 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

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FDE1ED

    oklch(93.6% 0.034 350)

  3. Step 200

    200

    #FDC8DF

    oklch(88.6% 0.067 350.7)

  4. Step 300

    300

    #FC9FCB

    oklch(80.8% 0.122 350.3)

  5. Step 400

    400

    #F564B1

    oklch(70.7% 0.194 350.2)

  6. Step 500

    500 (this color)

    #EC229E

    oklch(63.2% 0.248 350.1)

  7. Step 600

    600

    #CB0086

    oklch(55.5% 0.232 349.9)

  8. Step 700

    700

    #AC0070

    oklch(49.1% 0.205 350.2)

  9. Step 800

    800

    #8E005C

    oklch(42.6% 0.178 350.1)

  10. Step 900

    900

    #78004D

    oklch(37.7% 0.157 350.1)

  11. Step 950

    950

    #47062D

    oklch(26.9% 0.102 349.9)

Export this scale for Tailwind in the Tailwind colors tool

#EC229E 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)#4D69A10.282
Deuteranopia (no green cones)#878C9A0.245
Tritanopia (no blue cones)#FE00610.095
Achromatopsia (no color)#8080800.250

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC229E

    #EC229E

    oklch(63.2% 0.248 350.1)

  • #00A17E

    #00A17E

    oklch(63.1% 0.125 170.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC229E

    #EC229E

    oklch(63.2% 0.248 350.1)

  • #C741E3

    #C741E3

    oklch(63.1% 0.247 320.1)

  • #FC1345

    #FC1345

    oklch(63.1% 0.248 20.1)

Open the analogous palette in the generator

Split complementary

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

  • #EC229E

    #EC229E

    oklch(63.2% 0.248 350.1)

  • #31A500

    #31A500

    oklch(63.2% 0.204 140.1)

  • #009DA3

    #009DA3

    oklch(63.2% 0.108 199.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC229E

    #EC229E

    oklch(63.2% 0.248 350.1)

  • #8F9000

    #8F9000

    oklch(63.2% 0.138 110.3)

  • #0096C7

    #0096C7

    oklch(63.1% 0.126 230.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC229E

    #EC229E

    oklch(63.2% 0.248 350.1)

  • #B27F00

    #B27F00

    oklch(63.1% 0.131 80.3)

  • #00A17E

    #00A17E

    oklch(63.1% 0.125 170.2)

  • #3983FF

    #3983FF

    oklch(63.1% 0.199 260.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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