#C5131F

Closest named color: Scarlet (#BE0119). oklch(52.4% 0.205 26.2), rgb(197, 19, 31).

Aa

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

About this color

#C5131F 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.019 away. White text reads best on it, at 6.02:1.

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

Values

HEX#C5131F
RGBrgb(197, 19, 31)
HSLhsl(356, 82%, 42%)
OKLCHoklch(52.4% 0.205 26.2)

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 #C5131F 6.02:1 AA Lc -83.1 Fine for body text
Black text on #C5131F 3.48:1 AA large text Lc 26.2 Dividers and decoration only
#C5131F text on white 6.02:1 AA Lc 77.9 Fine for body text
#C5131F text on black 3.48: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 600.

  1. Step 50

    50

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F7AAA1

    oklch(81% 0.092 26.7)

  5. Step 400

    400

    #EE786F

    oklch(70.6% 0.147 25.9)

  6. Step 500

    500

    #E54E48

    oklch(63.1% 0.188 26.3)

  7. Step 600

    600 (this color)

    #C5131F

    oklch(52.4% 0.205 26.2)

  8. Step 700

    700

    #B4131C

    oklch(49.1% 0.19 26.3)

  9. Step 800

    800

    #92161A

    oklch(42.7% 0.158 26)

  10. Step 900

    900

    #751D1B

    oklch(37.7% 0.122 26.4)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#C5131F 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)#544B1C0.226
Deuteranopia (no green cones)#7E70140.203
Tritanopia (no blue cones)#DA001C0.042
Achromatopsia (no color)#6363630.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5131F

    #C5131F

    oklch(52.4% 0.205 26.2)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5131F

    #C5131F

    oklch(52.4% 0.205 26.2)

  • #BC146D

    #BC146D

    oklch(52.4% 0.205 356.4)

  • #A05300

    #A05300

    oklch(52.5% 0.128 56.4)

Open the analogous palette in the generator

Split complementary

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

  • #C5131F

    #C5131F

    oklch(52.4% 0.205 26.2)

  • #007C68

    #007C68

    oklch(52.4% 0.098 176.2)

  • #0073A2

    #0073A2

    oklch(52.5% 0.113 235.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5131F

    #C5131F

    oklch(52.4% 0.205 26.2)

  • #008128

    #008128

    oklch(52.5% 0.16 146.2)

  • #325BDE

    #325BDE

    oklch(52.4% 0.205 266)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5131F

    #C5131F

    oklch(52.4% 0.205 26.2)

  • #677200

    #677200

    oklch(52.5% 0.12 116.2)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

  • #7943D0

    #7943D0

    oklch(52.5% 0.205 296.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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