#C5231E

Closest named color: Scarlet (#BE0119). oklch(53.2% 0.197 28.3), rgb(197, 35, 30).

Aa

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

About this color

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

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

Values

HEX#C5231E
RGBrgb(197, 35, 30)
HSLhsl(2, 74%, 45%)
OKLCHoklch(53.2% 0.197 28.3)

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 #C5231E 5.77:1 AA Lc -82.4 Fine for body text
Black text on #C5231E 3.63:1 AA large text Lc 27.0 Dividers and decoration only
#C5231E text on white 5.77:1 AA Lc 77.1 Fine for body text
#C5231E 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

    #F8CEC7

    oklch(88.6% 0.049 29.1)

  4. Step 300

    300

    #F5ABA0

    oklch(80.9% 0.089 28.6)

  5. Step 400

    400

    #EC7B6D

    oklch(70.8% 0.142 28.5)

  6. Step 500

    500

    #E25246

    oklch(63.1% 0.181 28.1)

  7. Step 600

    600 (this color)

    #C5231E

    oklch(53.2% 0.197 28.3)

  8. Step 700

    700

    #B11D19

    oklch(49.1% 0.183 28.2)

  9. Step 800

    800

    #901C17

    oklch(42.7% 0.152 28.2)

  10. Step 900

    900

    #74201A

    oklch(37.8% 0.119 28.2)

  11. Step 950

    950

    #441410

    oklch(26.9% 0.075 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#C5231E 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)#594F1B0.214
Deuteranopia (no green cones)#8072130.194
Tritanopia (no blue cones)#D900250.041
Achromatopsia (no color)#6666660.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5231E

    #C5231E

    oklch(53.2% 0.197 28.3)

  • #007B88

    #007B88

    oklch(53.3% 0.092 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5231E

    #C5231E

    oklch(53.2% 0.197 28.3)

  • #BD206B

    #BD206B

    oklch(53.1% 0.197 358.3)

  • #A15600

    #A15600

    oklch(53.2% 0.127 58.2)

Open the analogous palette in the generator

Split complementary

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

  • #C5231E

    #C5231E

    oklch(53.2% 0.197 28.3)

  • #007F6D

    #007F6D

    oklch(53.4% 0.098 178.2)

  • #0074A9

    #0074A9

    oklch(53.2% 0.119 238.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5231E

    #C5231E

    oklch(53.2% 0.197 28.3)

  • #008333

    #008333

    oklch(53.2% 0.153 148.2)

  • #3E5DDC

    #3E5DDC

    oklch(53.2% 0.197 268.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5231E

    #C5231E

    oklch(53.2% 0.197 28.3)

  • #667500

    #667500

    oklch(53.1% 0.124 118.2)

  • #007B88

    #007B88

    oklch(53.3% 0.092 207.7)

  • #7E47CD

    #7E47CD

    oklch(53.3% 0.197 298.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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