#C21F22

Closest named color: Scarlet (#BE0119). oklch(52.5% 0.196 26.7), rgb(194, 31, 34).

Aa

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

About this color

#C21F22 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.196 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.022 away. White text reads best on it, at 5.97:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.51:1
White text5.97:1

Values

HEX#C21F22
RGBrgb(194, 31, 34)
HSLhsl(359, 72%, 44%)
OKLCHoklch(52.5% 0.196 26.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 #C21F22 5.97:1 AA Lc -83.3 Fine for body text
Black text on #C21F22 3.51:1 AA large text Lc 26.1 Dividers and decoration only
#C21F22 text on white 5.97:1 AA Lc 78.0 Fine for body text
#C21F22 text on black 3.51:1 AA large text Lc -23.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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F8CDC8

    oklch(88.4% 0.049 25.9)

  4. Step 300

    300

    #F5ABA2

    oklch(81% 0.089 26.9)

  5. Step 400

    400

    #EC7A70

    oklch(70.7% 0.142 26.5)

  6. Step 500

    500

    #E2524A

    oklch(63.1% 0.181 26.7)

  7. Step 600

    600 (this color)

    #C21F22

    oklch(52.5% 0.196 26.7)

  8. Step 700

    700

    #B11D1F

    oklch(49.1% 0.182 26.8)

  9. Step 800

    800

    #901C1C

    oklch(42.7% 0.152 26.5)

  10. Step 900

    900

    #73201C

    oklch(37.6% 0.117 27.1)

  11. Step 950

    950

    #441411

    oklch(26.9% 0.075 26.9)

Export this scale for Tailwind in the Tailwind colors tool

#C21F22 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)#564D200.214
Deuteranopia (no green cones)#7D70190.195
Tritanopia (no blue cones)#D600230.039
Achromatopsia (no color)#6363630.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #C21F22

    #C21F22

    oklch(52.5% 0.196 26.7)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C21F22

    #C21F22

    oklch(52.5% 0.196 26.7)

  • #B91E6C

    #B91E6C

    oklch(52.4% 0.196 356.7)

  • #9F5300

    #9F5300

    oklch(52.4% 0.127 56.8)

Open the analogous palette in the generator

Split complementary

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

  • #C21F22

    #C21F22

    oklch(52.5% 0.196 26.7)

  • #007C69

    #007C69

    oklch(52.4% 0.097 177)

  • #0073A3

    #0073A3

    oklch(52.6% 0.114 236.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C21F22

    #C21F22

    oklch(52.5% 0.196 26.7)

  • #00812B

    #00812B

    oklch(52.5% 0.157 146.7)

  • #375CD9

    #375CD9

    oklch(52.4% 0.196 266.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C21F22

    #C21F22

    oklch(52.5% 0.196 26.7)

  • #667200

    #667200

    oklch(52.4% 0.121 116.8)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

  • #7946CB

    #7946CB

    oklch(52.5% 0.196 296.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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