#D42F3B

Closest named color: Crimson (#DC143C). oklch(57.1% 0.2 22.9), rgb(212, 47, 59).

Aa

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

About this color

#D42F3B is a medium-dark, vivid red. In OKLCH its lightness is 57%, 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.024 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.26:1
White text4.91:1

Values

HEX#D42F3B
RGBrgb(212, 47, 59)
HSLhsl(356, 66%, 51%)
OKLCHoklch(57.1% 0.2 22.9)

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

    #F5AAA5

    oklch(80.9% 0.089 23.5)

  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)

    #D42F3B

    oklch(57.1% 0.2 22.9)

  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

#D42F3B 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)#625A3A0.218
Deuteranopia (no green cones)#8B7D350.199
Tritanopia (no blue cones)#E900350.042
Achromatopsia (no color)#7070700.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42F3B

    #D42F3B

    oklch(57.1% 0.2 22.9)

  • #008891

    #008891

    oklch(57.1% 0.097 203)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42F3B

    #D42F3B

    oklch(57.1% 0.2 22.9)

  • #C93182

    #C93182

    oklch(57.2% 0.2 353)

  • #B75A00

    #B75A00

    oklch(57% 0.145 53)

Open the analogous palette in the generator

Split complementary

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

  • #D42F3B

    #D42F3B

    oklch(57.1% 0.2 22.9)

  • #008C71

    #008C71

    oklch(57.1% 0.11 172.8)

  • #0082B1

    #0082B1

    oklch(57.1% 0.118 232.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42F3B

    #D42F3B

    oklch(57.1% 0.2 22.9)

  • #00920B

    #00920B

    oklch(57.2% 0.192 142.9)

  • #336EEB

    #336EEB

    oklch(57.2% 0.199 262.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42F3B

    #D42F3B

    oklch(57.1% 0.2 22.9)

  • #797F00

    #797F00

    oklch(57.2% 0.128 113.1)

  • #008891

    #008891

    oklch(57.1% 0.097 203)

  • #8056E0

    #8056E0

    oklch(57.1% 0.2 293)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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