#C31F55#C31F55

#C31F55 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.197 H 9.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C31F55
RGBrgb(195, 31, 85)
HSLhsl(340, 73%, 44%)
HSVhsv(340, 84%, 76%)
CMYKcmyk(0%, 84.1%, 56.4%, 23.5%)
CIE-LABlab(43.13, 63.96, 12.15)
CIE-LCHlch(43.13, 65.10, 10.76°)
OKLaboklab(53.51% 0.1945 0.0307)
OKLCHoklch(53.51% 0.197 9)
XYZxyz(24.6378, 13.2416, 9.8511)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C31F55 #1FC38D
analogous
#C31FA7 #C31F55 #C33B1F
triadic
#C31F55 #55C31F #1F55C3
tetradic
#C31F55 #A7C31F #1FC38D #3B1FC3
square
#C31F55 #A7C31F #1FC38D #3B1FC3
split-complementary
#C31F55 #1FC33B #1FA7C3
monochromatic
#590E27 #8E173E #C31F55 #E03F74 #E9749A

Accessibility & contrast

On white

5.76
#C31F55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#C31F55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C31F55
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C31F55#FFFFFF#000000##FFFFFF
##C31F551.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5156
Deuteranopia (green-blind)
#797151
Tritanopia (blue-blind)
#D50038
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c31f55;
/* rgb */ color: rgb(195, 31, 85);
/* oklch */ color: oklch(53.5% 0.197 9.0);
Tailwind
colors: {
  custom: {
    50: '#dc6f84',
    500: '#c31f55',
    950: '#000000',
  },
}
SCSS
$custom: #c31f55;
$custom-light: #dc6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#c31f55",
  "rgb": {
    "r": 195,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 340.244,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.19688,
    "h": 9
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#C31F55
secondary
#6ED0B0
accent
#EFB339
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C31F55

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C31F55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva