#D42A22

Closest named color: Crimson (#DC143C). oklch(56.5% 0.206 28.6), rgb(212, 42, 34).

Aa

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

About this color

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

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

Values

HEX#D42A22
RGBrgb(212, 42, 34)
HSLhsl(3, 72%, 48%)
OKLCHoklch(56.5% 0.206 28.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 #D42A22 5.05:1 AA Lc -78.6 Fine for body text
Black text on #D42A22 4.15:1 AA large text Lc 30.9 Non-text elements, placeholder text
#D42A22 text on white 5.05:1 AA Lc 73.2 Content text, not long reading
#D42A22 text on black 4.15:1 AA large text Lc -28.5 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F7AA9F

    oklch(80.9% 0.093 28.3)

  5. Step 400

    400

    #EF796A

    oklch(70.8% 0.148 28.8)

  6. Step 500

    500

    #E54E41

    oklch(63% 0.189 28.5)

  7. Step 600

    600 (this color)

    #D42A22

    oklch(56.5% 0.206 28.6)

  8. Step 700

    700

    #B41310

    oklch(49% 0.191 28.7)

  9. Step 800

    800

    #921712

    oklch(42.6% 0.158 28.6)

  10. Step 900

    900

    #751D17

    oklch(37.6% 0.123 28.4)

  11. Step 950

    950

    #45130E

    oklch(26.9% 0.078 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#D42A22 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)#62571E0.222
Deuteranopia (no green cones)#8B7C170.202
Tritanopia (no blue cones)#EA002B0.045
Achromatopsia (no color)#6F6F6F0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42A22

    #D42A22

    oklch(56.5% 0.206 28.6)

  • #008594

    #008594

    oklch(56.4% 0.097 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42A22

    #D42A22

    oklch(56.5% 0.206 28.6)

  • #CC2774

    #CC2774

    oklch(56.5% 0.206 358.6)

  • #AE5E00

    #AE5E00

    oklch(56.4% 0.134 58.5)

Open the analogous palette in the generator

Split complementary

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

  • #D42A22

    #D42A22

    oklch(56.5% 0.206 28.6)

  • #008977

    #008977

    oklch(56.4% 0.103 179.2)

  • #007EB7

    #007EB7

    oklch(56.4% 0.126 238.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42A22

    #D42A22

    oklch(56.5% 0.206 28.6)

  • #008E3A

    #008E3A

    oklch(56.4% 0.161 148.6)

  • #4566ED

    #4566ED

    oklch(56.5% 0.206 268.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42A22

    #D42A22

    oklch(56.5% 0.206 28.6)

  • #6F8000

    #6F8000

    oklch(56.6% 0.132 118.6)

  • #008594

    #008594

    oklch(56.4% 0.097 208.6)

  • #894EDC

    #894EDC

    oklch(56.5% 0.207 298.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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