#C5271E

Closest named color: Scarlet (#BE0119). oklch(53.5% 0.195 28.9), rgb(197, 39, 30).

Aa

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

About this color

#C5271E is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.195 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.034 away. White text reads best on it, at 5.70:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.68:1
White text5.70:1

Values

HEX#C5271E
RGBrgb(197, 39, 30)
HSLhsl(3, 74%, 45%)
OKLCHoklch(53.5% 0.195 28.9)

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 #C5271E 5.70:1 AA Lc -82.1 Fine for body text
Black text on #C5271E 3.68:1 AA large text Lc 27.3 Dividers and decoration only
#C5271E text on white 5.70:1 AA Lc 76.8 Fine for body text
#C5271E text on black 3.68:1 AA large text Lc -24.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 600.

  1. Step 50

    50

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FAE4E0

    oklch(93.6% 0.025 29.9)

  3. Step 200

    200

    #F8CEC7

    oklch(88.6% 0.049 29.1)

  4. Step 300

    300

    #F4ABA0

    oklch(80.8% 0.088 28.7)

  5. Step 400

    400

    #EB7B6D

    oklch(70.6% 0.141 28.5)

  6. Step 500

    500

    #E15445

    oklch(63.1% 0.179 29.1)

  7. Step 600

    600 (this color)

    #C5271E

    oklch(53.5% 0.195 28.9)

  8. Step 700

    700

    #B01F18

    oklch(49% 0.181 28.8)

  9. Step 800

    800

    #8F1E17

    oklch(42.7% 0.15 28.8)

  10. Step 900

    900

    #732119

    oklch(37.7% 0.117 29.2)

  11. Step 950

    950

    #441510

    oklch(27.1% 0.074 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#C5271E 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)#5B501A0.209
Deuteranopia (no green cones)#8173140.191
Tritanopia (no blue cones)#D900270.042
Achromatopsia (no color)#6666660.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5271E

    #C5271E

    oklch(53.5% 0.195 28.9)

  • #007B8A

    #007B8A

    oklch(53.4% 0.092 209.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5271E

    #C5271E

    oklch(53.5% 0.195 28.9)

  • #BE246B

    #BE246B

    oklch(53.6% 0.195 358.9)

  • #A25700

    #A25700

    oklch(53.5% 0.127 58.5)

Open the analogous palette in the generator

Split complementary

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

  • #C5271E

    #C5271E

    oklch(53.5% 0.195 28.9)

  • #007F6E

    #007F6E

    oklch(53.4% 0.098 179)

  • #0075AB

    #0075AB

    oklch(53.5% 0.121 239.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5271E

    #C5271E

    oklch(53.5% 0.195 28.9)

  • #008437

    #008437

    oklch(53.5% 0.151 149)

  • #415EDC

    #415EDC

    oklch(53.5% 0.195 269)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5271E

    #C5271E

    oklch(53.5% 0.195 28.9)

  • #667700

    #667700

    oklch(53.6% 0.126 119.1)

  • #007B8A

    #007B8A

    oklch(53.4% 0.092 209.6)

  • #7F48CC

    #7F48CC

    oklch(53.5% 0.195 298.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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