#D02940

Closest named color: Crimson (#DC143C). oklch(56.1% 0.2 20), rgb(208, 41, 64).

Aa

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

About this color

#D02940 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.200 and its hue 20°. 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.15:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.07:1
White text5.15:1

Values

HEX#D02940
RGBrgb(208, 41, 64)
HSLhsl(352, 67%, 49%)
OKLCHoklch(56.1% 0.2 20)

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 #D02940 5.15:1 AA Lc -79.3 Fine for body text
Black text on #D02940 4.07:1 AA large text Lc 30.2 Non-text elements, placeholder text
#D02940 text on white 5.15:1 AA Lc 73.8 Content text, not long reading
#D02940 text on black 4.07: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CDCB

    oklch(88.6% 0.05 21.2)

  4. Step 300

    300

    #F5A9A8

    oklch(80.8% 0.09 20.1)

  5. Step 400

    400

    #ED787B

    oklch(70.8% 0.144 19.8)

  6. Step 500

    500

    #E34E59

    oklch(63.1% 0.184 20)

  7. Step 600

    600 (this color)

    #D02940

    oklch(56.1% 0.2 20)

  8. Step 700

    700

    #B21531

    oklch(49.1% 0.186 20)

  9. Step 800

    800

    #911829

    oklch(42.8% 0.154 20.2)

  10. Step 900

    900

    #741D25

    oklch(37.6% 0.12 20.2)

  11. Step 950

    950

    #441316

    oklch(26.9% 0.075 20.3)

Export this scale for Tailwind in the Tailwind colors tool

#D02940 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)#5D573F0.221
Deuteranopia (no green cones)#867A3B0.202
Tritanopia (no blue cones)#E500340.041
Achromatopsia (no color)#6D6D6D0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02940

    #D02940

    oklch(56.1% 0.2 20)

  • #00858B

    #00858B

    oklch(56.1% 0.095 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02940

    #D02940

    oklch(56.1% 0.2 20)

  • #C32E85

    #C32E85

    oklch(56.1% 0.2 349.9)

  • #B65400

    #B65400

    oklch(56% 0.148 50)

Open the analogous palette in the generator

Split complementary

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

  • #D02940

    #D02940

    oklch(56.1% 0.2 20)

  • #00896B

    #00896B

    oklch(56.1% 0.111 170.3)

  • #0080A9

    #0080A9

    oklch(56.1% 0.111 229.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02940

    #D02940

    oklch(56.1% 0.2 20)

  • #288C00

    #288C00

    oklch(56.1% 0.181 140.1)

  • #206CE7

    #206CE7

    oklch(56% 0.201 260.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02940

    #D02940

    oklch(56.1% 0.2 20)

  • #7A7A00

    #7A7A00

    oklch(56.1% 0.122 109.8)

  • #00858B

    #00858B

    oklch(56.1% 0.095 200.4)

  • #7855DF

    #7855DF

    oklch(56.1% 0.2 290.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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