#D02A38

Closest named color: Crimson (#DC143C). oklch(56% 0.2 22.8), rgb(208, 42, 56).

Aa

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

About this color

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

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

Values

HEX#D02A38
RGBrgb(208, 42, 56)
HSLhsl(355, 66%, 49%)
OKLCHoklch(56% 0.2 22.8)

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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F9CDCA

    oklch(88.5% 0.05 22.7)

  4. Step 300

    300

    #F6AAA6

    oklch(81% 0.09 22.6)

  5. Step 400

    400

    #ED7976

    oklch(70.8% 0.144 22.9)

  6. Step 500

    500

    #E34F52

    oklch(63.1% 0.184 23)

  7. Step 600

    600 (this color)

    #D02A38

    oklch(56% 0.2 22.8)

  8. Step 700

    700

    #B21729

    oklch(49.1% 0.186 23)

  9. Step 800

    800

    #911923

    oklch(42.8% 0.154 23.1)

  10. Step 900

    900

    #741E21

    oklch(37.7% 0.12 23.2)

  11. Step 950

    950

    #451314

    oklch(27% 0.077 22.7)

Export this scale for Tailwind in the Tailwind colors tool

#D02A38 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)#5E57370.220
Deuteranopia (no green cones)#877A320.200
Tritanopia (no blue cones)#E500310.041
Achromatopsia (no color)#6D6D6D0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02A38

    #D02A38

    oklch(56% 0.2 22.8)

  • #00848D

    #00848D

    oklch(55.9% 0.095 203.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02A38

    #D02A38

    oklch(56% 0.2 22.8)

  • #C52C7F

    #C52C7F

    oklch(56% 0.201 352.8)

  • #B35700

    #B35700

    oklch(56% 0.143 52.5)

Open the analogous palette in the generator

Split complementary

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

  • #D02A38

    #D02A38

    oklch(56% 0.2 22.8)

  • #00886E

    #00886E

    oklch(55.9% 0.107 173)

  • #007FAD

    #007FAD

    oklch(56.1% 0.116 232.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02A38

    #D02A38

    oklch(56% 0.2 22.8)

  • #008E08

    #008E08

    oklch(56.1% 0.189 142.8)

  • #2F6AE7

    #2F6AE7

    oklch(56% 0.2 262.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02A38

    #D02A38

    oklch(56% 0.2 22.8)

  • #767B00

    #767B00

    oklch(56% 0.124 112.6)

  • #00848D

    #00848D

    oklch(55.9% 0.095 203.2)

  • #7D53DC

    #7D53DC

    oklch(56% 0.199 293)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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