#C5240E

Closest named color: Scarlet (#BE0119). oklch(53.2% 0.198 31.1), rgb(197, 36, 14).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.63:1
White text5.78:1

Values

HEX#C5240E
RGBrgb(197, 36, 14)
HSLhsl(7, 87%, 41%)
OKLCHoklch(53.2% 0.198 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 #C5240E 5.78:1 AA Lc -82.4 Fine for body text
Black text on #C5240E 3.63:1 AA large text Lc 27.0 Dividers and decoration only
#C5240E text on white 5.78:1 AA Lc 77.1 Fine for body text
#C5240E text on black 3.63:1 AA large text Lc -24.7 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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CEC5

    oklch(88.5% 0.049 32.1)

  4. Step 300

    300

    #F5AB9E

    oklch(80.9% 0.09 30.2)

  5. Step 400

    400

    #EC7B68

    oklch(70.7% 0.143 30.9)

  6. Step 500

    500

    #E2533E

    oklch(63.1% 0.182 31)

  7. Step 600

    600 (this color)

    #C5240E

    oklch(53.2% 0.198 31.1)

  8. Step 700

    700

    #B11E09

    oklch(49% 0.184 31.1)

  9. Step 800

    800

    #901D0E

    oklch(42.7% 0.153 31)

  10. Step 900

    900

    #742015

    oklch(37.7% 0.119 30.7)

  11. Step 950

    950

    #44150D

    oklch(27% 0.075 31.9)

Export this scale for Tailwind in the Tailwind colors tool

#C5240E 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)#5A4F050.213
Deuteranopia (no green cones)#8172000.191
Tritanopia (no blue cones)#DA00220.045
Achromatopsia (no color)#6666660.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5240E

    #C5240E

    oklch(53.2% 0.198 31.1)

  • #007A8B

    #007A8B

    oklch(53.2% 0.092 211.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5240E

    #C5240E

    oklch(53.2% 0.198 31.1)

  • #BF1E65

    #BF1E65

    oklch(53.2% 0.198 1.2)

  • #9E5800

    #9E5800

    oklch(53.1% 0.123 60.9)

Open the analogous palette in the generator

Split complementary

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

  • #C5240E

    #C5240E

    oklch(53.2% 0.198 31.1)

  • #007E70

    #007E70

    oklch(53.2% 0.096 181.5)

  • #0073AD

    #0073AD

    oklch(53.1% 0.125 241.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5240E

    #C5240E

    oklch(53.2% 0.198 31.1)

  • #00823E

    #00823E

    oklch(53.1% 0.142 151.2)

  • #465BDD

    #465BDD

    oklch(53.3% 0.198 271)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5240E

    #C5240E

    oklch(53.2% 0.198 31.1)

  • #627700

    #627700

    oklch(53.3% 0.128 121.1)

  • #007A8B

    #007A8B

    oklch(53.2% 0.092 211.6)

  • #8244CA

    #8244CA

    oklch(53.1% 0.198 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 #C5240E, closest first.

Similar named colors

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

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