#D51C28

Closest named color: Crimson (#DC143C). oklch(55.9% 0.214 25.6), rgb(213, 28, 40).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.02:1
White text5.21:1

Values

HEX#D51C28
RGBrgb(213, 28, 40)
HSLhsl(356, 77%, 47%)
OKLCHoklch(55.9% 0.214 25.6)

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 #D51C28 5.21:1 AA Lc -79.2 Fine for body text
Black text on #D51C28 4.02:1 AA large text Lc 30.3 Non-text elements, placeholder text
#D51C28 text on white 5.21:1 AA Lc 73.8 Content text, not long reading
#D51C28 text on black 4.02:1 AA large text Lc -27.9 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

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FBCCC7

    oklch(88.5% 0.054 25.3)

  4. Step 300

    300

    #F9A8A1

    oklch(80.9% 0.097 24.9)

  5. Step 400

    400

    #F1756D

    oklch(70.6% 0.154 25.5)

  6. Step 500

    500

    #E84946

    oklch(63% 0.196 25.7)

  7. Step 600

    600 (this color)

    #D51C28

    oklch(55.9% 0.214 25.6)

  8. Step 700

    700

    #B7011A

    oklch(49.1% 0.199 25.5)

  9. Step 800

    800

    #950E18

    oklch(42.8% 0.165 25.5)

  10. Step 900

    900

    #77191A

    oklch(37.6% 0.128 25.5)

  11. Step 950

    950

    #461110

    oklch(26.9% 0.081 25.4)

Export this scale for Tailwind in the Tailwind colors tool

#D51C28 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)#5D53260.235
Deuteranopia (no green cones)#897A1E0.212
Tritanopia (no blue cones)#EB00240.042
Achromatopsia (no color)#6C6C6C0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #D51C28

    #D51C28

    oklch(55.9% 0.214 25.6)

  • #00848F

    #00848F

    oklch(56% 0.096 205.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51C28

    #D51C28

    oklch(55.9% 0.214 25.6)

  • #CB1D79

    #CB1D79

    oklch(55.9% 0.214 355.6)

  • #AF5A00

    #AF5A00

    oklch(55.9% 0.137 55.6)

Open the analogous palette in the generator

Split complementary

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

  • #D51C28

    #D51C28

    oklch(55.9% 0.214 25.6)

  • #008871

    #008871

    oklch(56% 0.105 175.2)

  • #007EB0

    #007EB0

    oklch(56% 0.119 235.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51C28

    #D51C28

    oklch(55.9% 0.214 25.6)

  • #008D28

    #008D28

    oklch(56% 0.173 145.5)

  • #3765EF

    #3765EF

    oklch(55.9% 0.214 265.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51C28

    #D51C28

    oklch(55.9% 0.214 25.6)

  • #727C00

    #727C00

    oklch(55.9% 0.127 115.3)

  • #00848F

    #00848F

    oklch(56% 0.096 205.1)

  • #834CE1

    #834CE1

    oklch(56% 0.214 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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