#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 |
|---|---|
| RGB | rgb(195, 31, 85) |
| HSL | hsl(340, 73%, 44%) |
| HSV | hsv(340, 84%, 76%) |
| CMYK | cmyk(0%, 84.1%, 56.4%, 23.5%) |
| CIE-LAB | lab(43.13, 63.96, 12.15) |
| CIE-LCH | lch(43.13, 65.10, 10.76°) |
| OKLab | oklab(53.51% 0.1945 0.0307) |
| OKLCH | oklch(53.51% 0.197 9) |
| XYZ | xyz(24.6378, 13.2416, 9.8511) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.83
Deep Pink
#CB0162
ΔE00 3.93
Lipstick
#D5174E
ΔE00 4.82
Dark Hot Pink
#D90166
ΔE00 4.96
Purplish Red
#B0054B
ΔE00 4.99
Raspberry (survey)
#B00149
ΔE00 5.11
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 |
|---|---|---|---|---|
| ##C31F55 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.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