#C31331

Closest named color: Lipstick Red (#C0022F). oklch(52.2% 0.202 21.3), rgb(195, 19, 49).

Aa

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

About this color

#C31331 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.202 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick Red (#C0022F), ΔE 0.012 away. White text reads best on it, at 6.07:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.202)
Temperaturewarm
Nearest nameLipstick Red (#C0022F)
Black text3.45:1
White text6.07:1

Values

HEX#C31331
RGBrgb(195, 19, 49)
HSLhsl(350, 82%, 42%)
OKLCHoklch(52.2% 0.202 21.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 #C31331 6.07:1 AA Lc -83.4 Fine for body text
Black text on #C31331 3.45:1 AA large text Lc 25.9 Dividers and decoration only
#C31331 text on white 6.07:1 AA Lc 78.2 Fine for body text
#C31331 text on black 3.45: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCA

    oklch(88.5% 0.054 21.1)

  4. Step 300

    300

    #FAA7A5

    oklch(80.9% 0.099 21)

  5. Step 400

    400

    #F27475

    oklch(70.7% 0.155 21.4)

  6. Step 500

    500

    #E94651

    oklch(63.1% 0.199 21.4)

  7. Step 600

    600

    #D51235

    oklch(55.6% 0.217 21.4)

  8. Step 700

    700 (this color)

    #C31331

    oklch(52.2% 0.202 21.3)

  9. Step 800

    800

    #950822

    oklch(42.7% 0.167 21.4)

  10. Step 900

    900

    #781721

    oklch(37.7% 0.131 21.1)

  11. Step 950

    950

    #471014

    oklch(27% 0.083 20.8)

Export this scale for Tailwind in the Tailwind colors tool

#C31331 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)#524B300.223
Deuteranopia (no green cones)#7B6F2A0.204
Tritanopia (no blue cones)#D700230.041
Achromatopsia (no color)#6262620.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #C31331

    #C31331

    oklch(52.2% 0.202 21.3)

  • #00787F

    #00787F

    oklch(52.1% 0.089 201.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C31331

    #C31331

    oklch(52.2% 0.202 21.3)

  • #B71B77

    #B71B77

    oklch(52.3% 0.202 351.3)

  • #A44D00

    #A44D00

    oklch(52.1% 0.136 51.2)

Open the analogous palette in the generator

Split complementary

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

  • #C31331

    #C31331

    oklch(52.2% 0.202 21.3)

  • #007C62

    #007C62

    oklch(52.2% 0.102 171.4)

  • #00739B

    #00739B

    oklch(52.1% 0.106 231.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C31331

    #C31331

    oklch(52.2% 0.202 21.3)

  • #178000

    #178000

    oklch(52.2% 0.173 141.3)

  • #1A5FDB

    #1A5FDB

    oklch(52.3% 0.202 261.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C31331

    #C31331

    oklch(52.2% 0.202 21.3)

  • #6D6F00

    #6D6F00

    oklch(52.2% 0.115 111)

  • #00787F

    #00787F

    oklch(52.1% 0.089 201.9)

  • #7047D2

    #7047D2

    oklch(52.3% 0.202 291.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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