#D02F42

Closest named color: Crimson (#DC143C). oklch(56.5% 0.196 20.3), rgb(208, 47, 66).

Aa

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

About this color

#D02F42 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.196 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.027 away. White text reads best on it, at 5.03:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.16:1
White text5.03:1

Values

HEX#D02F42
RGBrgb(208, 47, 66)
HSLhsl(353, 63%, 50%)
OKLCHoklch(56.5% 0.196 20.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 #D02F42 5.03:1 AA Lc -78.7 Fine for body text
Black text on #D02F42 4.16:1 AA large text Lc 30.8 Non-text elements, placeholder text
#D02F42 text on white 5.03:1 AA Lc 73.3 Content text, not long reading
#D02F42 text on black 4.16:1 AA large text Lc -28.4 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FBE4E3

    oklch(93.7% 0.025 20.6)

  3. Step 200

    200

    #F8CDCC

    oklch(88.5% 0.049 19.7)

  4. Step 300

    300

    #F4AAA9

    oklch(80.8% 0.088 20)

  5. Step 400

    400

    #EB797B

    oklch(70.6% 0.141 20.2)

  6. Step 500

    500

    #E1505A

    oklch(63% 0.18 20)

  7. Step 600

    600 (this color)

    #D02F42

    oklch(56.5% 0.196 20.3)

  8. Step 700

    700

    #B11A31

    oklch(49.2% 0.183 20.5)

  9. Step 800

    800

    #8F1B29

    oklch(42.6% 0.15 20.6)

  10. Step 900

    900

    #731F26

    oklch(37.7% 0.117 20.3)

  11. Step 950

    950

    #441416

    oklch(27% 0.074 21.1)

Export this scale for Tailwind in the Tailwind colors tool

#D02F42 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)#5F59410.216
Deuteranopia (no green cones)#877B3D0.197
Tritanopia (no blue cones)#E500380.042
Achromatopsia (no color)#6F6F6F0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02F42

    #D02F42

    oklch(56.5% 0.196 20.3)

  • #00878D

    #00878D

    oklch(56.7% 0.096 200.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02F42

    #D02F42

    oklch(56.5% 0.196 20.3)

  • #C33385

    #C33385

    oklch(56.5% 0.195 350.3)

  • #B85600

    #B85600

    oklch(56.6% 0.149 50.5)

Open the analogous palette in the generator

Split complementary

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

  • #D02F42

    #D02F42

    oklch(56.5% 0.196 20.3)

  • #008B6C

    #008B6C

    oklch(56.6% 0.112 169.9)

  • #0081AC

    #0081AC

    oklch(56.5% 0.114 230.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02F42

    #D02F42

    oklch(56.5% 0.196 20.3)

  • #268E00

    #268E00

    oklch(56.6% 0.183 140.4)

  • #276EE6

    #276EE6

    oklch(56.5% 0.196 260.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02F42

    #D02F42

    oklch(56.5% 0.196 20.3)

  • #7B7C00

    #7B7C00

    oklch(56.7% 0.124 110.3)

  • #00878D

    #00878D

    oklch(56.7% 0.096 200.3)

  • #7958DE

    #7958DE

    oklch(56.6% 0.195 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 #D02F42, closest first.

Similar named colors

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

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