#D02228

Closest named color: Cherry (#CF0234). oklch(55.3% 0.207 26.1), rgb(208, 34, 40).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.94:1
White text5.32:1

Values

HEX#D02228
RGBrgb(208, 34, 40)
HSLhsl(358, 72%, 47%)
OKLCHoklch(55.3% 0.207 26.1)

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 #D02228 5.32:1 AA Lc -80.0 Fine for body text
Black text on #D02228 3.94:1 AA large text Lc 29.5 Dividers and decoration only
#D02228 text on white 5.32:1 AA Lc 74.6 Content text, not long reading
#D02228 text on black 3.94:1 AA large text Lc -27.1 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

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FACDC7

    oklch(88.6% 0.052 27)

  4. Step 300

    300

    #F7A9A1

    oklch(80.8% 0.093 25.8)

  5. Step 400

    400

    #EF786E

    oklch(70.8% 0.148 26.4)

  6. Step 500

    500

    #E64D48

    oklch(63.2% 0.19 26)

  7. Step 600

    600 (this color)

    #D02228

    oklch(55.3% 0.207 26.1)

  8. Step 700

    700

    #B5101C

    oklch(49.2% 0.193 26)

  9. Step 800

    800

    #931519

    oklch(42.8% 0.16 26.2)

  10. Step 900

    900

    #761C1B

    oklch(37.7% 0.125 26)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#D02228 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)#5D53260.225
Deuteranopia (no green cones)#87781F0.204
Tritanopia (no blue cones)#E500270.040
Achromatopsia (no color)#6B6B6B0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #D02228

    #D02228

    oklch(55.3% 0.207 26.1)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D02228

    #D02228

    oklch(55.3% 0.207 26.1)

  • #C62276

    #C62276

    oklch(55.2% 0.206 356)

  • #AC5900

    #AC5900

    oklch(55.3% 0.135 56)

Open the analogous palette in the generator

Split complementary

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

  • #D02228

    #D02228

    oklch(55.3% 0.207 26.1)

  • #008670

    #008670

    oklch(55.4% 0.104 175.7)

  • #007BAE

    #007BAE

    oklch(55.2% 0.119 236.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D02228

    #D02228

    oklch(55.3% 0.207 26.1)

  • #008B2B

    #008B2B

    oklch(55.4% 0.169 146.1)

  • #3964E9

    #3964E9

    oklch(55.3% 0.207 266.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D02228

    #D02228

    oklch(55.3% 0.207 26.1)

  • #6F7B00

    #6F7B00

    oklch(55.4% 0.127 116.4)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

  • #814CDA

    #814CDA

    oklch(55.3% 0.206 296.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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