#C21D04

Closest named color: Scarlet (#BE0119). oklch(52.2% 0.2 31.1), rgb(194, 29, 4).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.47:1
White text6.04:1

Values

HEX#C21D04
RGBrgb(194, 29, 4)
HSLhsl(8, 96%, 39%)
OKLCHoklch(52.2% 0.2 31.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 #C21D04 6.04:1 AA Lc -83.5 Fine for body text
Black text on #C21D04 3.47:1 AA large text Lc 25.9 Dividers and decoration only
#C21D04 text on white 6.04:1 AA Lc 78.2 Fine for body text
#C21D04 text on black 3.47:1 AA large text Lc -23.6 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 700.

  1. Step 50

    50

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FCE4DF

    oklch(93.7% 0.027 31.7)

  3. Step 200

    200

    #FBCDC4

    oklch(88.6% 0.054 31)

  4. Step 300

    300

    #F9A99A

    oklch(80.9% 0.098 31)

  5. Step 400

    400

    #F17762

    oklch(70.7% 0.154 31.3)

  6. Step 500

    500

    #E84B34

    oklch(63% 0.197 31.3)

  7. Step 600

    600

    #D41E02

    oklch(55.6% 0.215 31.1)

  8. Step 700

    700 (this color)

    #C21D04

    oklch(52.2% 0.2 31.1)

  9. Step 800

    800

    #951100

    oklch(42.8% 0.166 31.1)

  10. Step 900

    900

    #771B0E

    oklch(37.7% 0.128 31.3)

  11. Step 950

    950

    #46120A

    oklch(26.9% 0.081 31.5)

Export this scale for Tailwind in the Tailwind colors tool

#C21D04 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)#574C000.215
Deuteranopia (no green cones)#7E6F000.191
Tritanopia (no blue cones)#D7001C0.044
Achromatopsia (no color)#6363630.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #C21D04

    #C21D04

    oklch(52.2% 0.2 31.1)

  • #007787

    #007787

    oklch(52.2% 0.091 211)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C21D04

    #C21D04

    oklch(52.2% 0.2 31.1)

  • #BC1662

    #BC1662

    oklch(52.2% 0.2 1.2)

  • #9A5600

    #9A5600

    oklch(52.2% 0.121 61.2)

Open the analogous palette in the generator

Split complementary

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

  • #C21D04

    #C21D04

    oklch(52.2% 0.2 31.1)

  • #007B6D

    #007B6D

    oklch(52.3% 0.094 181.3)

  • #0070A8

    #0070A8

    oklch(52.1% 0.122 241)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C21D04

    #C21D04

    oklch(52.2% 0.2 31.1)

  • #007F3C

    #007F3C

    oklch(52.2% 0.14 151.1)

  • #4357DA

    #4357DA

    oklch(52.1% 0.2 271)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C21D04

    #C21D04

    oklch(52.2% 0.2 31.1)

  • #5F7300

    #5F7300

    oklch(52% 0.125 120.9)

  • #007787

    #007787

    oklch(52.2% 0.091 211)

  • #7F40C7

    #7F40C7

    oklch(52.1% 0.2 301.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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