#C40F1F

Closest named color: Scarlet (#BE0119). oklch(52.1% 0.205 25.8), rgb(196, 15, 31).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.43:1
White text6.11:1

Values

HEX#C40F1F
RGBrgb(196, 15, 31)
HSLhsl(355, 86%, 41%)
OKLCHoklch(52.1% 0.205 25.8)

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 #C40F1F 6.11:1 AA Lc -83.5 Fine for body text
Black text on #C40F1F 3.43:1 AA large text Lc 25.9 Dividers and decoration only
#C40F1F text on white 6.11:1 AA Lc 78.2 Fine for body text
#C40F1F text on black 3.43: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

    #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

    #FAA89F

    oklch(80.9% 0.099 26.3)

  5. Step 400

    400

    #F4746B

    oklch(70.8% 0.159 26)

  6. Step 500

    500

    #EB4543

    oklch(63.1% 0.203 25.7)

  7. Step 600

    600

    #D60E22

    oklch(55.5% 0.221 25.8)

  8. Step 700

    700 (this color)

    #C40F1F

    oklch(52.1% 0.205 25.8)

  9. Step 800

    800

    #960614

    oklch(42.6% 0.17 25.9)

  10. Step 900

    900

    #791718

    oklch(37.8% 0.133 25.9)

  11. Step 950

    950

    #47100F

    oklch(26.9% 0.084 25.7)

Export this scale for Tailwind in the Tailwind colors tool

#C40F1F 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)#534A1D0.226
Deuteranopia (no green cones)#7D6F140.204
Tritanopia (no blue cones)#D8001A0.040
Achromatopsia (no color)#6262620.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #C40F1F

    #C40F1F

    oklch(52.1% 0.205 25.8)

  • #007782

    #007782

    oklch(52% 0.089 206.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C40F1F

    #C40F1F

    oklch(52.1% 0.205 25.8)

  • #BB116D

    #BB116D

    oklch(52.1% 0.206 356)

  • #9F5100

    #9F5100

    oklch(52% 0.128 55.4)

Open the analogous palette in the generator

Split complementary

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

  • #C40F1F

    #C40F1F

    oklch(52.1% 0.205 25.8)

  • #007B67

    #007B67

    oklch(52.1% 0.097 176)

  • #0072A0

    #0072A0

    oklch(52.2% 0.111 235.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C40F1F

    #C40F1F

    oklch(52.1% 0.205 25.8)

  • #008025

    #008025

    oklch(52.2% 0.161 145.7)

  • #305ADD

    #305ADD

    oklch(52.1% 0.205 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C40F1F

    #C40F1F

    oklch(52.1% 0.205 25.8)

  • #677100

    #677100

    oklch(52.2% 0.119 115.7)

  • #007782

    #007782

    oklch(52% 0.089 206.1)

  • #7742CF

    #7742CF

    oklch(52.1% 0.205 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 #C40F1F, closest first.

Similar named colors

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

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