#C51021

Closest named color: Scarlet (#BE0119). oklch(52.3% 0.206 25.5), rgb(197, 16, 33).

Aa

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

About this color

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

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

Values

HEX#C51021
RGBrgb(197, 16, 33)
HSLhsl(354, 85%, 42%)
OKLCHoklch(52.3% 0.206 25.5)

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 #C51021 6.05:1 AA Lc -83.2 Fine for body text
Black text on #C51021 3.47:1 AA large text Lc 26.2 Dividers and decoration only
#C51021 text on white 6.05:1 AA Lc 77.9 Fine for body text
#C51021 text on black 3.47:1 AA large text Lc -23.9 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC7

    oklch(88.6% 0.055 25.2)

  4. Step 300

    300

    #FBA7A0

    oklch(80.9% 0.101 24.8)

  5. Step 400

    400

    #F4736C

    oklch(70.7% 0.16 25.1)

  6. Step 500

    500

    #EB4544

    oklch(63.1% 0.203 25.4)

  7. Step 600

    600

    #D70D23

    oklch(55.7% 0.222 25.6)

  8. Step 700

    700 (this color)

    #C51021

    oklch(52.3% 0.206 25.5)

  9. Step 800

    800

    #970515

    oklch(42.8% 0.171 25.5)

  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

#C51021 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)#534B1F0.227
Deuteranopia (no green cones)#7D70170.206
Tritanopia (no blue cones)#DA001B0.042
Achromatopsia (no color)#6363630.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51021

    #C51021

    oklch(52.3% 0.206 25.5)

  • #007883

    #007883

    oklch(52.3% 0.089 206)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51021

    #C51021

    oklch(52.3% 0.206 25.5)

  • #BB136F

    #BB136F

    oklch(52.3% 0.206 355.3)

  • #A05200

    #A05200

    oklch(52.3% 0.128 55.8)

Open the analogous palette in the generator

Split complementary

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

  • #C51021

    #C51021

    oklch(52.3% 0.206 25.5)

  • #007C67

    #007C67

    oklch(52.4% 0.098 175.3)

  • #0073A1

    #0073A1

    oklch(52.5% 0.112 235.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51021

    #C51021

    oklch(52.3% 0.206 25.5)

  • #008124

    #008124

    oklch(52.5% 0.162 145.5)

  • #2F5BDE

    #2F5BDE

    oklch(52.3% 0.206 265.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51021

    #C51021

    oklch(52.3% 0.206 25.5)

  • #687100

    #687100

    oklch(52.3% 0.119 115.1)

  • #007883

    #007883

    oklch(52.3% 0.089 206)

  • #7843D0

    #7843D0

    oklch(52.4% 0.205 295.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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