#D42228

Closest named color: Crimson (#DC143C). oklch(56% 0.21 26.2), rgb(212, 34, 40).

Aa

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

About this color

#D42228 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.210 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.028 away. White text reads best on it, at 5.17:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.210)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.05:1
White text5.17:1

Values

HEX#D42228
RGBrgb(212, 34, 40)
HSLhsl(358, 72%, 48%)
OKLCHoklch(56% 0.21 26.2)

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 #D42228 5.17:1 AA Lc -79.1 Fine for body text
Black text on #D42228 4.05:1 AA large text Lc 30.4 Non-text elements, placeholder text
#D42228 text on white 5.17:1 AA Lc 73.7 Content text, not long reading
#D42228 text on black 4.05:1 AA large text Lc -28.0 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

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FACDC7

    oklch(88.6% 0.052 27)

  4. Step 300

    300

    #F8A9A1

    oklch(80.9% 0.095 25.8)

  5. Step 400

    400

    #F0776D

    oklch(70.7% 0.151 26.4)

  6. Step 500

    500

    #E74B46

    oklch(63.1% 0.193 26.2)

  7. Step 600

    600 (this color)

    #D42228

    oklch(56% 0.21 26.2)

  8. Step 700

    700

    #B60A19

    oklch(49.2% 0.196 26.3)

  9. Step 800

    800

    #931218

    oklch(42.6% 0.161 26)

  10. Step 900

    900

    #761B1A

    oklch(37.6% 0.126 26.1)

  11. Step 950

    950

    #461210

    oklch(27% 0.08 26.2)

Export this scale for Tailwind in the Tailwind colors tool

#D42228 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)#5E55260.230
Deuteranopia (no green cones)#897A1F0.207
Tritanopia (no blue cones)#EA00270.042
Achromatopsia (no color)#6D6D6D0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42228

    #D42228

    oklch(56% 0.21 26.2)

  • #008490

    #008490

    oklch(56% 0.096 206)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42228

    #D42228

    oklch(56% 0.21 26.2)

  • #CA2278

    #CA2278

    oklch(56% 0.21 356.1)

  • #AF5B00

    #AF5B00

    oklch(56% 0.137 56.2)

Open the analogous palette in the generator

Split complementary

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

  • #D42228

    #D42228

    oklch(56% 0.21 26.2)

  • #008872

    #008872

    oklch(56% 0.105 176)

  • #007EB2

    #007EB2

    oklch(56.1% 0.121 236.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42228

    #D42228

    oklch(56% 0.21 26.2)

  • #008D2D

    #008D2D

    oklch(56% 0.17 146.2)

  • #3B66ED

    #3B66ED

    oklch(56.1% 0.209 266.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42228

    #D42228

    oklch(56% 0.21 26.2)

  • #717D00

    #717D00

    oklch(56% 0.128 116.3)

  • #008490

    #008490

    oklch(56% 0.096 206)

  • #844DDE

    #844DDE

    oklch(56% 0.21 296.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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