#EC179A

Closest named color: Shocking Pink (#FE02A2). oklch(62.6% 0.252 351), rgb(236, 23, 154).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.252)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.15:1
White text4.07:1

Values

HEX#EC179A
RGBrgb(236, 23, 154)
HSLhsl(323, 85%, 51%)
OKLCHoklch(62.6% 0.252 351)

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 #EC179A 4.07:1 AA large text Lc -71.2 Content text, not long reading
Black text on #EC179A 5.15:1 AA Lc 38.4 Non-text elements, placeholder text
#EC179A text on white 4.07:1 AA large text Lc 65.7 Content text, not long reading
#EC179A text on black 5.15:1 AA Lc -36.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

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FEE1ED

    oklch(93.7% 0.035 350.9)

  3. Step 200

    200

    #FEC7DF

    oklch(88.5% 0.069 350.6)

  4. Step 300

    300

    #FD9FCA

    oklch(80.9% 0.123 351.2)

  5. Step 400

    400

    #F762AF

    oklch(70.7% 0.198 351.2)

  6. Step 500

    500 (this color)

    #EC179A

    oklch(62.6% 0.252 351)

  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

    #8F005B

    oklch(42.8% 0.178 350.9)

  10. Step 900

    900

    #78004B

    oklch(37.7% 0.156 351.3)

  11. Step 950

    950

    #48052C

    oklch(26.9% 0.104 351.4)

Export this scale for Tailwind in the Tailwind colors tool

#EC179A 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)#4B679D0.287
Deuteranopia (no green cones)#878A960.248
Tritanopia (no blue cones)#FE005C0.098
Achromatopsia (no color)#7E7E7E0.254

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC179A

    #EC179A

    oklch(62.6% 0.252 351)

  • #009F7E

    #009F7E

    oklch(62.5% 0.122 171.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC179A

    #EC179A

    oklch(62.6% 0.252 351)

  • #C83BE1

    #C83BE1

    oklch(62.6% 0.252 321.1)

  • #FC003E

    #FC003E

    oklch(62.6% 0.252 21.1)

Open the analogous palette in the generator

Split complementary

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

  • #EC179A

    #EC179A

    oklch(62.6% 0.252 351)

  • #25A400

    #25A400

    oklch(62.7% 0.206 141)

  • #009BA2

    #009BA2

    oklch(62.7% 0.107 200.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC179A

    #EC179A

    oklch(62.6% 0.252 351)

  • #8C8F00

    #8C8F00

    oklch(62.7% 0.138 111.3)

  • #0094C6

    #0094C6

    oklch(62.5% 0.127 231.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC179A

    #EC179A

    oklch(62.6% 0.252 351)

  • #AF7E00

    #AF7E00

    oklch(62.5% 0.129 81.2)

  • #009F7E

    #009F7E

    oklch(62.5% 0.122 171.1)

  • #3A80FF

    #3A80FF

    oklch(62.5% 0.202 261.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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