#D2271F

Closest named color: Cherry (#CF0234). oklch(55.9% 0.206 28.7), rgb(210, 39, 31).

Aa

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

About this color

#D2271F 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 Cherry (#CF0234), ΔE 0.037 away. White text reads best on it, at 5.18:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.206)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text4.05:1
White text5.18:1

Values

HEX#D2271F
RGBrgb(210, 39, 31)
HSLhsl(3, 74%, 47%)
OKLCHoklch(55.9% 0.206 28.7)

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 #D2271F 5.18:1 AA Lc -79.3 Fine for body text
Black text on #D2271F 4.05:1 AA large text Lc 30.2 Non-text elements, placeholder text
#D2271F text on white 5.18:1 AA Lc 73.9 Content text, not long reading
#D2271F text on black 4.05:1 AA large text Lc -27.8 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

    #F7AA9E

    oklch(80.9% 0.093 29.1)

  5. Step 400

    400

    #EF786A

    oklch(70.7% 0.149 28.3)

  6. Step 500

    500

    #E54E40

    oklch(63% 0.189 28.8)

  7. Step 600

    600 (this color)

    #D2271F

    oklch(55.9% 0.206 28.7)

  8. Step 700

    700

    #B4130F

    oklch(49% 0.192 28.8)

  9. Step 800

    800

    #921711

    oklch(42.6% 0.158 28.9)

  10. Step 900

    900

    #761D16

    oklch(37.8% 0.124 28.9)

  11. Step 950

    950

    #45130E

    oklch(26.9% 0.078 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#D2271F 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.223
Deuteranopia (no green cones)#897A130.202
Tritanopia (no blue cones)#E800280.045
Achromatopsia (no color)#6D6D6D0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2271F

    #D2271F

    oklch(55.9% 0.206 28.7)

  • #008392

    #008392

    oklch(55.8% 0.096 208.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2271F

    #D2271F

    oklch(55.9% 0.206 28.7)

  • #CA2472

    #CA2472

    oklch(55.9% 0.206 358.7)

  • #AC5D00

    #AC5D00

    oklch(56% 0.133 58.6)

Open the analogous palette in the generator

Split complementary

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

  • #D2271F

    #D2271F

    oklch(55.9% 0.206 28.7)

  • #008775

    #008775

    oklch(55.8% 0.102 179)

  • #007CB5

    #007CB5

    oklch(55.8% 0.126 239.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2271F

    #D2271F

    oklch(55.9% 0.206 28.7)

  • #008C3A

    #008C3A

    oklch(55.9% 0.158 148.8)

  • #4464EB

    #4464EB

    oklch(55.9% 0.206 268.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2271F

    #D2271F

    oklch(55.9% 0.206 28.7)

  • #6D7E00

    #6D7E00

    oklch(55.9% 0.131 118.7)

  • #008392

    #008392

    oklch(55.8% 0.096 208.8)

  • #874CDA

    #874CDA

    oklch(55.9% 0.207 298.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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