#D51B2A

Closest named color: Crimson (#DC143C). oklch(55.9% 0.214 25), rgb(213, 27, 42).

Aa

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

About this color

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

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

Values

HEX#D51B2A
RGBrgb(213, 27, 42)
HSLhsl(355, 78%, 47%)
OKLCHoklch(55.9% 0.214 25)

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

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  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

    #F1756E

    oklch(70.6% 0.154 25.1)

  6. Step 500

    500

    #E94848

    oklch(63.1% 0.198 24.8)

  7. Step 600

    600 (this color)

    #D51B2A

    oklch(55.9% 0.214 25)

  8. Step 700

    700

    #B7001C

    oklch(49.1% 0.199 25)

  9. Step 800

    800

    #950E19

    oklch(42.8% 0.165 25.2)

  10. Step 900

    900

    #77191B

    oklch(37.6% 0.128 25)

  11. Step 950

    950

    #461111

    oklch(26.9% 0.081 24.4)

Export this scale for Tailwind in the Tailwind colors tool

#D51B2A 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)#5C53280.236
Deuteranopia (no green cones)#897A210.213
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°).

  • #D51B2A

    #D51B2A

    oklch(55.9% 0.214 25)

  • #00848F

    #00848F

    oklch(56% 0.096 205.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51B2A

    #D51B2A

    oklch(55.9% 0.214 25)

  • #CA1D7A

    #CA1D7A

    oklch(55.8% 0.214 355)

  • #B05900

    #B05900

    oklch(55.9% 0.139 54.6)

Open the analogous palette in the generator

Split complementary

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

  • #D51B2A

    #D51B2A

    oklch(55.9% 0.214 25)

  • #008871

    #008871

    oklch(56% 0.105 175.2)

  • #007EAF

    #007EAF

    oklch(56% 0.118 234.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51B2A

    #D51B2A

    oklch(55.9% 0.214 25)

  • #008D24

    #008D24

    oklch(55.9% 0.176 145)

  • #3465EF

    #3465EF

    oklch(55.8% 0.215 265.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51B2A

    #D51B2A

    oklch(55.9% 0.214 25)

  • #727C00

    #727C00

    oklch(55.9% 0.127 115.3)

  • #00848F

    #00848F

    oklch(56% 0.096 205.1)

  • #824CE1

    #824CE1

    oklch(55.9% 0.214 295.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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