#D7221F

Closest named color: Crimson (#DC143C). oklch(56.5% 0.214 28.1), rgb(215, 34, 31).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.13:1
White text5.07:1

Values

HEX#D7221F
RGBrgb(215, 34, 31)
HSLhsl(1, 75%, 48%)
OKLCHoklch(56.5% 0.214 28.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 #D7221F 5.07:1 AA Lc -78.5 Fine for body text
Black text on #D7221F 4.13:1 AA large text Lc 31.1 Non-text elements, placeholder text
#D7221F text on white 5.07:1 AA Lc 73.0 Content text, not long reading
#D7221F text on black 4.13:1 AA large text Lc -28.7 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

    #FBCDC6

    oklch(88.6% 0.053 28.3)

  4. Step 300

    300

    #F9A99E

    oklch(81% 0.097 28)

  5. Step 400

    400

    #F17669

    oklch(70.6% 0.154 27.8)

  6. Step 500

    500

    #E84A3F

    oklch(63.1% 0.196 28.1)

  7. Step 600

    600 (this color)

    #D7221F

    oklch(56.5% 0.214 28.1)

  8. Step 700

    700

    #B7050C

    oklch(49.1% 0.199 28.2)

  9. Step 800

    800

    #94100F

    oklch(42.6% 0.164 28.2)

  10. Step 900

    900

    #771A15

    oklch(37.7% 0.128 28.2)

  11. Step 950

    950

    #46120E

    oklch(27% 0.081 28.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7221F 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)#60551B0.233
Deuteranopia (no green cones)#8C7C120.209
Tritanopia (no blue cones)#ED00250.043
Achromatopsia (no color)#6E6E6E0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7221F

    #D7221F

    oklch(56.5% 0.214 28.1)

  • #008594

    #008594

    oklch(56.4% 0.097 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7221F

    #D7221F

    oklch(56.5% 0.214 28.1)

  • #CE1F75

    #CE1F75

    oklch(56.4% 0.214 358)

  • #AF5E00

    #AF5E00

    oklch(56.6% 0.135 58.2)

Open the analogous palette in the generator

Split complementary

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

  • #D7221F

    #D7221F

    oklch(56.5% 0.214 28.1)

  • #008976

    #008976

    oklch(56.4% 0.103 178.4)

  • #007FB6

    #007FB6

    oklch(56.6% 0.125 237.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7221F

    #D7221F

    oklch(56.5% 0.214 28.1)

  • #008E38

    #008E38

    oklch(56.4% 0.162 148.2)

  • #4265F1

    #4265F1

    oklch(56.5% 0.214 268)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7221F

    #D7221F

    oklch(56.5% 0.214 28.1)

  • #707F00

    #707F00

    oklch(56.4% 0.131 117.7)

  • #008594

    #008594

    oklch(56.4% 0.097 208.6)

  • #894CE0

    #894CE0

    oklch(56.6% 0.214 298.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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