#D52827

Closest named color: Crimson (#DC143C). oklch(56.6% 0.208 27.3), rgb(213, 40, 39).

Aa

White text reads best on this color (5.04:1).

About this color

#D52827 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.208 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.031 away. White text reads best on it, at 5.04:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.16:1
White text5.04:1

Values

HEX#D52827
RGBrgb(213, 40, 39)
HSLhsl(0, 69%, 49%)
OKLCHoklch(56.6% 0.208 27.3)

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 #D52827 5.04:1 AA Lc -78.5 Fine for body text
Black text on #D52827 4.16:1 AA large text Lc 31.0 Non-text elements, placeholder text
#D52827 text on white 5.04:1 AA Lc 73.0 Content text, not long reading
#D52827 text on black 4.16:1 AA large text Lc -28.6 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE4E0

    oklch(93.7% 0.027 28.9)

  3. Step 200

    200

    #FACDC7

    oklch(88.6% 0.052 27)

  4. Step 300

    300

    #F7AAA0

    oklch(81% 0.093 27.5)

  5. Step 400

    400

    #EF786C

    oklch(70.7% 0.149 27.4)

  6. Step 500

    500

    #E64D44

    oklch(63.1% 0.191 27.3)

  7. Step 600

    600 (this color)

    #D52827

    oklch(56.6% 0.208 27.3)

  8. Step 700

    700

    #B51016

    oklch(49.1% 0.193 27.3)

  9. Step 800

    800

    #931515

    oklch(42.7% 0.16 27.4)

  10. Step 900

    900

    #761C19

    oklch(37.7% 0.125 27)

  11. Step 950

    950

    #45130F

    oklch(26.9% 0.078 28)

Export this scale for Tailwind in the Tailwind colors tool

#D52827 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)#6157240.225
Deuteranopia (no green cones)#8B7C1E0.204
Tritanopia (no blue cones)#EB002B0.044
Achromatopsia (no color)#6F6F6F0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #D52827

    #D52827

    oklch(56.6% 0.208 27.3)

  • #008693

    #008693

    oklch(56.7% 0.097 206.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D52827

    #D52827

    oklch(56.6% 0.208 27.3)

  • #CC2677

    #CC2677

    oklch(56.5% 0.208 357.3)

  • #B05D00

    #B05D00

    oklch(56.5% 0.137 57.1)

Open the analogous palette in the generator

Split complementary

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

  • #D52827

    #D52827

    oklch(56.6% 0.208 27.3)

  • #008A75

    #008A75

    oklch(56.6% 0.105 176.9)

  • #007FB5

    #007FB5

    oklch(56.5% 0.124 237.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D52827

    #D52827

    oklch(56.6% 0.208 27.3)

  • #008F34

    #008F34

    oklch(56.6% 0.167 147.3)

  • #4167EE

    #4167EE

    oklch(56.6% 0.208 267.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D52827

    #D52827

    oklch(56.6% 0.208 27.3)

  • #717F00

    #717F00

    oklch(56.5% 0.131 117.2)

  • #008693

    #008693

    oklch(56.7% 0.097 206.8)

  • #874FDE

    #874FDE

    oklch(56.6% 0.207 297.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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