#D2042D

Closest named color: Cherry (#CF0234). oklch(54.6% 0.219 22.6), rgb(210, 4, 45).

Aa

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

About this color

#D2042D is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.219 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.010 away. White text reads best on it, at 5.53:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.219)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.79:1
White text5.53:1

Values

HEX#D2042D
RGBrgb(210, 4, 45)
HSLhsl(348, 96%, 42%)
OKLCHoklch(54.6% 0.219 22.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 #D2042D 5.53:1 AA Lc -80.3 Fine for body text
Black text on #D2042D 3.79:1 AA large text Lc 29.1 Dividers and decoration only
#D2042D text on white 5.53:1 AA Lc 75.0 Content text, not long reading
#D2042D text on black 3.79:1 AA large text Lc -26.8 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

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FCCCC9

    oklch(88.6% 0.055 22.4)

  4. Step 300

    300

    #FAA7A3

    oklch(80.8% 0.099 22.5)

  5. Step 400

    400

    #F37372

    oklch(70.7% 0.158 22.4)

  6. Step 500

    500

    #EA454D

    oklch(63.1% 0.201 22.6)

  7. Step 600

    600 (this color)

    #D2042D

    oklch(54.6% 0.219 22.6)

  8. Step 700

    700

    #B70025

    oklch(49.2% 0.198 22.7)

  9. Step 800

    800

    #96061E

    oklch(42.7% 0.169 22.7)

  10. Step 900

    900

    #78171E

    oklch(37.7% 0.131 22.8)

  11. Step 950

    950

    #471012

    oklch(27% 0.084 22.8)

Export this scale for Tailwind in the Tailwind colors tool

#D2042D 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)#564F2C0.244
Deuteranopia (no green cones)#8476240.220
Tritanopia (no blue cones)#E8001C0.047
Achromatopsia (no color)#6868680.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2042D

    #D2042D

    oklch(54.6% 0.219 22.6)

  • #008088

    #008088

    oklch(54.6% 0.093 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2042D

    #D2042D

    oklch(54.6% 0.219 22.6)

  • #C6117C

    #C6117C

    oklch(54.7% 0.219 352.7)

  • #AD5400

    #AD5400

    oklch(54.6% 0.139 52.6)

Open the analogous palette in the generator

Split complementary

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

  • #D2042D

    #D2042D

    oklch(54.6% 0.219 22.6)

  • #00846A

    #00846A

    oklch(54.7% 0.105 172.5)

  • #007AA7

    #007AA7

    oklch(54.5% 0.113 233.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2042D

    #D2042D

    oklch(54.6% 0.219 22.6)

  • #008903

    #008903

    oklch(54.6% 0.185 142.6)

  • #2263ED

    #2263ED

    oklch(54.7% 0.218 262.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2042D

    #D2042D

    oklch(54.6% 0.219 22.6)

  • #727700

    #727700

    oklch(54.6% 0.122 112.7)

  • #008088

    #008088

    oklch(54.6% 0.093 202.5)

  • #7A48E1

    #7A48E1

    oklch(54.6% 0.219 292.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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