#D51C38

Closest named color: Crimson (#DC143C). oklch(56.1% 0.213 21.4), rgb(213, 28, 56).

Aa

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

About this color

#D51C38 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.213 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.015 away. White text reads best on it, at 5.18:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.05:1
White text5.18:1

Values

HEX#D51C38
RGBrgb(213, 28, 56)
HSLhsl(351, 77%, 47%)
OKLCHoklch(56.1% 0.213 21.4)

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 #D51C38 5.18:1 AA Lc -79.0 Fine for body text
Black text on #D51C38 4.05:1 AA large text Lc 30.5 Non-text elements, placeholder text
#D51C38 text on white 5.18:1 AA Lc 73.6 Content text, not long reading
#D51C38 text on black 4.05:1 AA large text Lc -28.1 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCA

    oklch(88.5% 0.054 21.1)

  4. Step 300

    300

    #F9A8A5

    oklch(80.9% 0.096 21.7)

  5. Step 400

    400

    #F17576

    oklch(70.8% 0.153 21.2)

  6. Step 500

    500

    #E84852

    oklch(63.1% 0.196 21.4)

  7. Step 600

    600 (this color)

    #D51C38

    oklch(56.1% 0.213 21.4)

  8. Step 700

    700

    #B60029

    oklch(49% 0.197 21.4)

  9. Step 800

    800

    #940D23

    oklch(42.7% 0.164 21.4)

  10. Step 900

    900

    #771921

    oklch(37.7% 0.128 21.6)

  11. Step 950

    950

    #461114

    oklch(27% 0.081 21.3)

Export this scale for Tailwind in the Tailwind colors tool

#D51C38 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)#5B54370.236
Deuteranopia (no green cones)#887A310.213
Tritanopia (no blue cones)#EB002A0.043
Achromatopsia (no color)#6D6D6D0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D51C38

    #D51C38

    oklch(56.1% 0.213 21.4)

  • #00858C

    #00858C

    oklch(56.1% 0.095 201.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51C38

    #D51C38

    oklch(56.1% 0.213 21.4)

  • #C82283

    #C82283

    oklch(56% 0.213 351.3)

  • #B55600

    #B55600

    oklch(56.1% 0.146 51.3)

Open the analogous palette in the generator

Split complementary

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

  • #D51C38

    #D51C38

    oklch(56.1% 0.213 21.4)

  • #00896C

    #00896C

    oklch(56.1% 0.11 171)

  • #007FAB

    #007FAB

    oklch(56% 0.114 231.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51C38

    #D51C38

    oklch(56.1% 0.213 21.4)

  • #1A8D00

    #1A8D00

    oklch(56% 0.186 141.3)

  • #216AEF

    #216AEF

    oklch(56.2% 0.213 261.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51C38

    #D51C38

    oklch(56.1% 0.213 21.4)

  • #787B00

    #787B00

    oklch(56.2% 0.124 111.5)

  • #00858C

    #00858C

    oklch(56.1% 0.095 201.3)

  • #7B50E4

    #7B50E4

    oklch(56% 0.212 291.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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