#C31238

Closest named color: Lipstick Red (#C0022F). oklch(52.3% 0.202 18.9), rgb(195, 18, 56).

Aa

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

About this color

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

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

Values

HEX#C31238
RGBrgb(195, 18, 56)
HSLhsl(347, 83%, 42%)
OKLCHoklch(52.3% 0.202 18.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 #C31238 6.06:1 AA Lc -83.4 Fine for body text
Black text on #C31238 3.46:1 AA large text Lc 26.0 Dividers and decoration only
#C31238 text on white 6.06:1 AA Lc 78.1 Fine for body text
#C31238 text on black 3.46:1 AA large text Lc -23.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 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

    #FBCCCB

    oklch(88.6% 0.053 19.6)

  4. Step 300

    300

    #F9A7A8

    oklch(80.8% 0.097 18.6)

  5. Step 400

    400

    #F27379

    oklch(70.7% 0.156 19)

  6. Step 500

    500

    #E94557

    oklch(63.1% 0.2 19.1)

  7. Step 600

    600

    #D5103D

    oklch(55.7% 0.218 18.9)

  8. Step 700

    700 (this color)

    #C31238

    oklch(52.3% 0.202 18.9)

  9. Step 800

    800

    #950728

    oklch(42.7% 0.167 18.8)

  10. Step 900

    900

    #781724

    oklch(37.8% 0.13 19.4)

  11. Step 950

    950

    #471016

    oklch(27.1% 0.083 18.6)

Export this scale for Tailwind in the Tailwind colors tool

#C31238 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)#514B380.224
Deuteranopia (no green cones)#7B6F320.204
Tritanopia (no blue cones)#D700250.044
Achromatopsia (no color)#6262620.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #C31238

    #C31238

    oklch(52.3% 0.202 18.9)

  • #00797D

    #00797D

    oklch(52.3% 0.089 198.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C31238

    #C31238

    oklch(52.3% 0.202 18.9)

  • #B61D7C

    #B61D7C

    oklch(52.4% 0.202 349)

  • #A74B00

    #A74B00

    oklch(52.3% 0.14 49.1)

Open the analogous palette in the generator

Split complementary

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

  • #C31238

    #C31238

    oklch(52.3% 0.202 18.9)

  • #007D5F

    #007D5F

    oklch(52.4% 0.105 168.6)

  • #007499

    #007499

    oklch(52.3% 0.103 229.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C31238

    #C31238

    oklch(52.3% 0.202 18.9)

  • #2C7E00

    #2C7E00

    oklch(52.2% 0.164 138.9)

  • #0061DB

    #0061DB

    oklch(52.3% 0.202 258.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C31238

    #C31238

    oklch(52.3% 0.202 18.9)

  • #706E00

    #706E00

    oklch(52.3% 0.113 108.5)

  • #00797D

    #00797D

    oklch(52.3% 0.089 198.8)

  • #6C49D4

    #6C49D4

    oklch(52.4% 0.202 289)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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