#EC2498

Closest named color: Shocking Pink (#FE02A2). oklch(63% 0.244 352.1), rgb(236, 36, 152).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.244)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.27:1
White text3.98:1

Values

HEX#EC2498
RGBrgb(236, 36, 152)
HSLhsl(325, 84%, 53%)
OKLCHoklch(63% 0.244 352.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 #EC2498 3.98:1 AA large text Lc -70.7 Content text, not long reading
Black text on #EC2498 5.27:1 AA Lc 38.8 Non-text elements, placeholder text
#EC2498 text on white 3.98:1 AA large text Lc 65.2 Content text, not long reading
#EC2498 text on black 5.27: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

    #FFF1F6

    oklch(97.1% 0.016 353.6)

  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

    #FCA0C8

    oklch(80.9% 0.119 352.5)

  5. Step 400

    400

    #F565AD

    oklch(70.7% 0.191 352)

  6. Step 500

    500 (this color)

    #EC2498

    oklch(63% 0.244 352.1)

  7. Step 600

    600

    #CD0081

    oklch(55.7% 0.231 352.2)

  8. Step 700

    700

    #AD006C

    oklch(49.1% 0.203 352.2)

  9. Step 800

    800

    #8F0059

    oklch(42.7% 0.177 351.9)

  10. Step 900

    900

    #78004A

    oklch(37.6% 0.156 351.9)

  11. Step 950

    950

    #48072B

    oklch(27.1% 0.101 352.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC2498 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)#51699B0.277
Deuteranopia (no green cones)#898C940.243
Tritanopia (no blue cones)#FF005E0.091
Achromatopsia (no color)#7F7F7F0.246

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC2498

    #EC2498

    oklch(63% 0.244 352.1)

  • #00A181

    #00A181

    oklch(63.2% 0.122 172)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC2498

    #EC2498

    oklch(63% 0.244 352.1)

  • #C941DE

    #C941DE

    oklch(63.1% 0.244 322)

  • #FB1C3E

    #FB1C3E

    oklch(63.1% 0.244 22.2)

Open the analogous palette in the generator

Split complementary

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

  • #EC2498

    #EC2498

    oklch(63% 0.244 352.1)

  • #0FA600

    #0FA600

    oklch(62.9% 0.212 142.1)

  • #009CA5

    #009CA5

    oklch(63.1% 0.107 202)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC2498

    #EC2498

    oklch(63% 0.244 352.1)

  • #8C9100

    #8C9100

    oklch(63.1% 0.14 112.2)

  • #0095C9

    #0095C9

    oklch(62.9% 0.129 232.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC2498

    #EC2498

    oklch(63% 0.244 352.1)

  • #B08000

    #B08000

    oklch(63.1% 0.13 82.1)

  • #00A181

    #00A181

    oklch(63.2% 0.122 172)

  • #4281FF

    #4281FF

    oklch(63% 0.199 262.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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