#EC5252

Closest named color: Pastel Red (#DB5856). oklch(64.8% 0.19 24.1), rgb(236, 82, 82).

Aa

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

About this color

#EC5252 is a medium-light, vivid red. In OKLCH its lightness is 65%, its chroma 0.190 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Pastel Red (#DB5856), ΔE 0.031 away. Black text reads best on it, at 5.89:1.

Hue familyReds
Lightnessmedium-light (65%)
Chromavivid (0.190)
Temperaturewarm
Nearest namePastel Red (#DB5856)
Black text5.89:1
White text3.56:1

Values

HEX#EC5252
RGBrgb(236, 82, 82)
HSLhsl(0, 80%, 62%)
OKLCHoklch(64.8% 0.19 24.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 #EC5252 3.56:1 AA large text Lc -67.7 Content text, not long reading
Black text on #EC5252 5.89:1 AA Lc 41.9 Non-text elements, placeholder text
#EC5252 text on white 3.56:1 AA large text Lc 62.2 Content text, not long reading
#EC5252 text on black 5.89:1 AA Lc -39.5 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FACDC9

    oklch(88.6% 0.051 24.1)

  4. Step 300

    300

    #F7A9A3

    oklch(80.9% 0.093 24.2)

  5. Step 400

    400

    #EF7772

    oklch(70.7% 0.149 24)

  6. Step 500

    500 (this color)

    #EC5252

    oklch(64.8% 0.19 24.1)

  7. Step 600

    600

    #D12230

    oklch(55.6% 0.207 24.1)

  8. Step 700

    700

    #B50E23

    oklch(49.2% 0.193 24)

  9. Step 800

    800

    #93141E

    oklch(42.8% 0.16 24.2)

  10. Step 900

    900

    #761C1E

    oklch(37.8% 0.124 24.3)

  11. Step 950

    950

    #451212

    oklch(26.9% 0.079 24.1)

Export this scale for Tailwind in the Tailwind colors tool

#EC5252 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)#7B73510.205
Deuteranopia (no green cones)#A2944E0.188
Tritanopia (no blue cones)#FF2C540.054
Achromatopsia (no color)#8888880.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC5252

    #EC5252

    oklch(64.8% 0.19 24.1)

  • #00A2AE

    #00A2AE

    oklch(64.9% 0.111 204.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC5252

    #EC5252

    oklch(64.8% 0.19 24.1)

  • #E15196

    #E15196

    oklch(64.7% 0.19 354.1)

  • #D86D00

    #D86D00

    oklch(64.8% 0.163 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #EC5252

    #EC5252

    oklch(64.8% 0.19 24.1)

  • #00A689

    #00A689

    oklch(64.7% 0.123 174.3)

  • #009BD4

    #009BD4

    oklch(64.9% 0.135 233.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC5252

    #EC5252

    oklch(64.8% 0.19 24.1)

  • #2AAA36

    #2AAA36

    oklch(64.7% 0.19 144.2)

  • #5387FF

    #5387FF

    oklch(64.9% 0.187 264.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC5252

    #EC5252

    oklch(64.8% 0.19 24.1)

  • #8E9800

    #8E9800

    oklch(64.9% 0.146 114.4)

  • #00A2AE

    #00A2AE

    oklch(64.9% 0.111 204.1)

  • #9871F5

    #9871F5

    oklch(64.9% 0.19 294.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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