#D5021F

Closest named color: Cherry (#CF0234). oklch(55% 0.223 25.7), rgb(213, 2, 31).

Aa

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

About this color

#D5021F is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.223 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.023 away. White text reads best on it, at 5.44:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.85:1
White text5.44:1

Values

HEX#D5021F
RGBrgb(213, 2, 31)
HSLhsl(352, 98%, 42%)
OKLCHoklch(55% 0.223 25.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 #D5021F 5.44:1 AA Lc -79.8 Fine for body text
Black text on #D5021F 3.85:1 AA large text Lc 29.7 Dividers and decoration only
#D5021F text on white 5.44:1 AA Lc 74.4 Content text, not long reading
#D5021F text on black 3.85:1 AA large text Lc -27.4 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

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FBA79F

    oklch(80.9% 0.101 25.5)

  5. Step 400

    400

    #F4736B

    oklch(70.7% 0.16 25.6)

  6. Step 500

    500

    #EC4442

    oklch(63.2% 0.205 25.8)

  7. Step 600

    600 (this color)

    #D5021F

    oklch(55% 0.223 25.7)

  8. Step 700

    700

    #B70019

    oklch(49.1% 0.199 25.7)

  9. Step 800

    800

    #970314

    oklch(42.7% 0.172 25.6)

  10. Step 900

    900

    #791618

    oklch(37.7% 0.133 25.6)

  11. Step 950

    950

    #47100F

    oklch(26.9% 0.084 25.7)

Export this scale for Tailwind in the Tailwind colors tool

#D5021F 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)#594F1C0.246
Deuteranopia (no green cones)#8778110.222
Tritanopia (no blue cones)#EB00150.046
Achromatopsia (no color)#6A6A6A0.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5021F

    #D5021F

    oklch(55% 0.223 25.7)

  • #00818C

    #00818C

    oklch(55.1% 0.094 205.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5021F

    #D5021F

    oklch(55% 0.223 25.7)

  • #CB0776

    #CB0776

    oklch(55.1% 0.223 356)

  • #AB5800

    #AB5800

    oklch(55% 0.135 55.7)

Open the analogous palette in the generator

Split complementary

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

  • #D5021F

    #D5021F

    oklch(55% 0.223 25.7)

  • #00856F

    #00856F

    oklch(55.1% 0.103 175.6)

  • #007BAD

    #007BAD

    oklch(55.1% 0.118 235.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5021F

    #D5021F

    oklch(55% 0.223 25.7)

  • #008A28

    #008A28

    oklch(55.1% 0.17 145.7)

  • #3360F1

    #3360F1

    oklch(55% 0.223 265.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5021F

    #D5021F

    oklch(55% 0.223 25.7)

  • #6F7A00

    #6F7A00

    oklch(55.1% 0.126 115.9)

  • #00818C

    #00818C

    oklch(55.1% 0.094 205.3)

  • #8145E2

    #8145E2

    oklch(55% 0.224 295.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D5021F.

Similar named colors

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

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