#D51D42

Closest named color: Crimson (#DC143C). oklch(56.3% 0.212 18.3), rgb(213, 29, 66).

Aa

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

About this color

#D51D42 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.212 and its hue 18°. 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.14:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.212)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.08:1
White text5.14:1

Values

HEX#D51D42
RGBrgb(213, 29, 66)
HSLhsl(348, 76%, 47%)
OKLCHoklch(56.3% 0.212 18.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 #D51D42 5.14:1 AA Lc -78.8 Fine for body text
Black text on #D51D42 4.08:1 AA large text Lc 30.7 Non-text elements, placeholder text
#D51D42 text on white 5.14:1 AA Lc 73.4 Content text, not long reading
#D51D42 text on black 4.08:1 AA large text Lc -28.3 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

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FACCCC

    oklch(88.5% 0.052 18.2)

  4. Step 300

    300

    #F8A8A9

    oklch(80.9% 0.095 18.5)

  5. Step 400

    400

    #F0747B

    oklch(70.6% 0.153 18.3)

  6. Step 500

    500

    #E7485A

    oklch(63.1% 0.195 18.4)

  7. Step 600

    600 (this color)

    #D51D42

    oklch(56.3% 0.212 18.3)

  8. Step 700

    700

    #B60032

    oklch(49.2% 0.197 18.4)

  9. Step 800

    800

    #940D2A

    oklch(42.8% 0.164 18.4)

  10. Step 900

    900

    #761926

    oklch(37.6% 0.126 18.4)

  11. Step 950

    950

    #461117

    oklch(27% 0.081 18)

Export this scale for Tailwind in the Tailwind colors tool

#D51D42 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)#5A55420.237
Deuteranopia (no green cones)#877B3C0.215
Tritanopia (no blue cones)#EA002F0.044
Achromatopsia (no color)#6D6D6D0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D51D42

    #D51D42

    oklch(56.3% 0.212 18.3)

  • #00868A

    #00868A

    oklch(56.3% 0.096 198.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51D42

    #D51D42

    oklch(56.3% 0.212 18.3)

  • #C6268A

    #C6268A

    oklch(56.2% 0.212 348.2)

  • #BA5300

    #BA5300

    oklch(56.4% 0.153 48.4)

Open the analogous palette in the generator

Split complementary

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

  • #D51D42

    #D51D42

    oklch(56.3% 0.212 18.3)

  • #008A69

    #008A69

    oklch(56.3% 0.113 168.5)

  • #0081A8

    #0081A8

    oklch(56.3% 0.11 228.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51D42

    #D51D42

    oklch(56.3% 0.212 18.3)

  • #358B00

    #358B00

    oklch(56.2% 0.175 138.3)

  • #006DEE

    #006DEE

    oklch(56.3% 0.212 258.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51D42

    #D51D42

    oklch(56.3% 0.212 18.3)

  • #7C7A00

    #7C7A00

    oklch(56.3% 0.122 108.6)

  • #00868A

    #00868A

    oklch(56.3% 0.096 198.5)

  • #7654E7

    #7654E7

    oklch(56.4% 0.211 288.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D51D42.

Similar named colors

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

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