#D2031B

Closest named color: Cherry (#CF0234). oklch(54.4% 0.22 26.4), rgb(210, 3, 27).

Aa

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

About this color

#D2031B is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.220 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.023 away. White text reads best on it, at 5.57:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.220)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.76:1
White text5.57:1

Values

HEX#D2031B
RGBrgb(210, 3, 27)
HSLhsl(353, 97%, 42%)
OKLCHoklch(54.4% 0.22 26.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 #D2031B 5.57:1 AA Lc -80.5 Fine for body text
Black text on #D2031B 3.76:1 AA large text Lc 29.0 Dividers and decoration only
#D2031B text on white 5.57:1 AA Lc 75.1 Fine for body text
#D2031B text on black 3.76:1 AA large text Lc -26.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

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FAA89F

    oklch(80.9% 0.099 26.3)

  5. Step 400

    400

    #F3746A

    oklch(70.6% 0.158 26.4)

  6. Step 500

    500

    #EB4641

    oklch(63.2% 0.203 26.5)

  7. Step 600

    600 (this color)

    #D2031B

    oklch(54.4% 0.22 26.4)

  8. Step 700

    700

    #B70015

    oklch(49% 0.2 26.4)

  9. Step 800

    800

    #960712

    oklch(42.6% 0.17 26.5)

  10. Step 900

    900

    #791717

    oklch(37.8% 0.133 26.3)

  11. Step 950

    950

    #47100E

    oklch(26.9% 0.084 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#D2031B 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)#584E180.243
Deuteranopia (no green cones)#85760A0.219
Tritanopia (no blue cones)#E800140.045
Achromatopsia (no color)#6868680.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2031B

    #D2031B

    oklch(54.4% 0.22 26.4)

  • #007F8B

    #007F8B

    oklch(54.5% 0.093 206.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2031B

    #D2031B

    oklch(54.4% 0.22 26.4)

  • #C80673

    #C80673

    oklch(54.4% 0.22 356.4)

  • #A85700

    #A85700

    oklch(54.4% 0.133 56.1)

Open the analogous palette in the generator

Split complementary

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

  • #D2031B

    #D2031B

    oklch(54.4% 0.22 26.4)

  • #00836E

    #00836E

    oklch(54.5% 0.102 176.2)

  • #0079AB

    #0079AB

    oklch(54.5% 0.118 236.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2031B

    #D2031B

    oklch(54.4% 0.22 26.4)

  • #00882C

    #00882C

    oklch(54.6% 0.165 146.4)

  • #355EEE

    #355EEE

    oklch(54.4% 0.221 266.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2031B

    #D2031B

    oklch(54.4% 0.22 26.4)

  • #6C7800

    #6C7800

    oklch(54.4% 0.125 116.5)

  • #007F8B

    #007F8B

    oklch(54.5% 0.093 206.4)

  • #8144DE

    #8144DE

    oklch(54.5% 0.22 296.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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