#D42F3E

Closest named color: Crimson (#DC143C). oklch(57.2% 0.2 22), rgb(212, 47, 62).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.27:1
White text4.91:1

Values

HEX#D42F3E
RGBrgb(212, 47, 62)
HSLhsl(355, 66%, 51%)
OKLCHoklch(57.2% 0.2 22)

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 #D42F3E 4.91:1 AA Lc -77.9 Fine for body text
Black text on #D42F3E 4.27:1 AA large text Lc 31.6 Non-text elements, placeholder text
#D42F3E text on white 4.91:1 AA Lc 72.4 Content text, not long reading
#D42F3E text on black 4.27:1 AA large text Lc -29.2 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

    #F5AAA7

    oklch(80.9% 0.089 21.8)

  5. Step 400

    400

    #ED7877

    oklch(70.7% 0.145 21.9)

  6. Step 500

    500

    #E34F55

    oklch(63.1% 0.184 21.8)

  7. Step 600

    600 (this color)

    #D42F3E

    oklch(57.2% 0.2 22)

  8. Step 700

    700

    #B2172C

    oklch(49.1% 0.185 22)

  9. Step 800

    800

    #911925

    oklch(42.8% 0.154 22.2)

  10. Step 900

    900

    #741E23

    oklch(37.7% 0.119 21.9)

  11. Step 950

    950

    #441315

    oklch(26.9% 0.076 21.4)

Export this scale for Tailwind in the Tailwind colors tool

#D42F3E 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)#615A3D0.219
Deuteranopia (no green cones)#8A7D380.200
Tritanopia (no blue cones)#E900360.042
Achromatopsia (no color)#7171710.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42F3E

    #D42F3E

    oklch(57.2% 0.2 22)

  • #008890

    #008890

    oklch(57.1% 0.097 202.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42F3E

    #D42F3E

    oklch(57.2% 0.2 22)

  • #C83284

    #C83284

    oklch(57.2% 0.199 352)

  • #B95900

    #B95900

    oklch(57.2% 0.147 51.8)

Open the analogous palette in the generator

Split complementary

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

  • #D42F3E

    #D42F3E

    oklch(57.2% 0.2 22)

  • #008D70

    #008D70

    oklch(57.3% 0.112 171.5)

  • #0083B0

    #0083B0

    oklch(57.2% 0.116 231.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42F3E

    #D42F3E

    oklch(57.2% 0.2 22)

  • #109100

    #109100

    oklch(57% 0.192 142)

  • #2F6FEB

    #2F6FEB

    oklch(57.3% 0.199 261.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42F3E

    #D42F3E

    oklch(57.2% 0.2 22)

  • #7A7E00

    #7A7E00

    oklch(57% 0.126 112)

  • #008890

    #008890

    oklch(57.1% 0.097 202.1)

  • #7E57E1

    #7E57E1

    oklch(57.1% 0.2 291.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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