#D4271D

Closest named color: Crimson (#DC143C). oklch(56.2% 0.208 29.1), rgb(212, 39, 29).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.10:1
White text5.11:1

Values

HEX#D4271D
RGBrgb(212, 39, 29)
HSLhsl(3, 76%, 47%)
OKLCHoklch(56.2% 0.208 29.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 #D4271D 5.11:1 AA Lc -78.8 Fine for body text
Black text on #D4271D 4.10:1 AA large text Lc 30.7 Non-text elements, placeholder text
#D4271D text on white 5.11:1 AA Lc 73.4 Content text, not long reading
#D4271D text on black 4.10:1 AA large text Lc -28.3 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

    #FCE4E0

    oklch(93.7% 0.027 28.9)

  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

    #EF7868

    oklch(70.6% 0.15 29.2)

  6. Step 500

    500

    #E64D3E

    oklch(63% 0.192 29.1)

  7. Step 600

    600 (this color)

    #D4271D

    oklch(56.2% 0.208 29.1)

  8. Step 700

    700

    #B5100B

    oklch(49.1% 0.194 29.1)

  9. Step 800

    800

    #93150F

    oklch(42.7% 0.161 29)

  10. Step 900

    900

    #761C15

    oklch(37.7% 0.125 28.9)

  11. Step 950

    950

    #46130E

    oklch(27.1% 0.079 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#D4271D 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)#6156180.225
Deuteranopia (no green cones)#8B7B100.203
Tritanopia (no blue cones)#EA00280.045
Achromatopsia (no color)#6E6E6E0.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4271D

    #D4271D

    oklch(56.2% 0.208 29.1)

  • #008494

    #008494

    oklch(56.2% 0.097 209.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4271D

    #D4271D

    oklch(56.2% 0.208 29.1)

  • #CC2372

    #CC2372

    oklch(56.2% 0.208 359.1)

  • #AD5E00

    #AD5E00

    oklch(56.3% 0.133 58.9)

Open the analogous palette in the generator

Split complementary

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

  • #D4271D

    #D4271D

    oklch(56.2% 0.208 29.1)

  • #008876

    #008876

    oklch(56.1% 0.102 179.1)

  • #007DB7

    #007DB7

    oklch(56.2% 0.127 239.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4271D

    #D4271D

    oklch(56.2% 0.208 29.1)

  • #008D3C

    #008D3C

    oklch(56.2% 0.158 149.2)

  • #4664ED

    #4664ED

    oklch(56.2% 0.209 269.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4271D

    #D4271D

    oklch(56.2% 0.208 29.1)

  • #6D7F00

    #6D7F00

    oklch(56.2% 0.132 119.1)

  • #008494

    #008494

    oklch(56.2% 0.097 209.6)

  • #894CDB

    #894CDB

    oklch(56.2% 0.208 299.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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