#C31F55

Closest named color: Ruby (#CA0147). oklch(53.5% 0.197 9), rgb(195, 31, 85).

Aa

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

About this color

#C31F55 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.197 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.023 away. White text reads best on it, at 5.75:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.197)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.64:1
White text5.75:1

Values

HEX#C31F55
RGBrgb(195, 31, 85)
HSLhsl(340, 73%, 44%)
OKLCHoklch(53.5% 0.197 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 #C31F55 5.75:1 AA Lc -82.3 Fine for body text
Black text on #C31F55 3.64:1 AA large text Lc 27.0 Dividers and decoration only
#C31F55 text on white 5.75:1 AA Lc 77.0 Fine for body text
#C31F55 text on black 3.64: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CCD2

    oklch(88.4% 0.049 8.7)

  4. Step 300

    300

    #F3A9B5

    oklch(80.9% 0.088 8.5)

  5. Step 400

    400

    #EA788E

    oklch(70.8% 0.142 9.2)

  6. Step 500

    500

    #DF4E72

    oklch(63% 0.181 9)

  7. Step 600

    600 (this color)

    #C31F55

    oklch(53.5% 0.197 9)

  8. Step 700

    700

    #AF184B

    oklch(49.2% 0.183 8.9)

  9. Step 800

    800

    #8E193D

    oklch(42.7% 0.152 9.2)

  10. Step 900

    900

    #721E34

    oklch(37.7% 0.118 9.3)

  11. Step 950

    950

    #43131F

    oklch(27% 0.075 8.4)

Export this scale for Tailwind in the Tailwind colors tool

#C31F55 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)#4F51560.222
Deuteranopia (no green cones)#7971510.200
Tritanopia (no blue cones)#D500380.049
Achromatopsia (no color)#6666660.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #C31F55

    #C31F55

    oklch(53.5% 0.197 9)

  • #007E78

    #007E78

    oklch(53.5% 0.093 188.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C31F55

    #C31F55

    oklch(53.5% 0.197 9)

  • #B02D92

    #B02D92

    oklch(53.5% 0.196 338.9)

  • #BB3C00

    #BB3C00

    oklch(53.5% 0.172 38.8)

Open the analogous palette in the generator

Split complementary

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

  • #C31F55

    #C31F55

    oklch(53.5% 0.197 9)

  • #008252

    #008252

    oklch(53.5% 0.123 158.9)

  • #007A93

    #007A93

    oklch(53.5% 0.097 218.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C31F55

    #C31F55

    oklch(53.5% 0.197 9)

  • #537C00

    #537C00

    oklch(53.5% 0.142 129)

  • #0070BE

    #0070BE

    oklch(53.5% 0.148 249.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C31F55

    #C31F55

    oklch(53.5% 0.197 9)

  • #7E6D00

    #7E6D00

    oklch(53.5% 0.111 98.4)

  • #007E78

    #007E78

    oklch(53.5% 0.093 188.9)

  • #5B56DB

    #5B56DB

    oklch(53.6% 0.197 279.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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