#C31F53#C31F53
#C31F53 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.197 H 9.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C31F53 |
|---|---|
| RGB | rgb(195, 31, 83) |
| HSL | hsl(341, 73%, 44%) |
| HSV | hsv(341, 84%, 76%) |
| CMYK | cmyk(0%, 84.1%, 57.4%, 23.5%) |
| CIE-LAB | lab(43.08, 63.82, 13.35) |
| CIE-LCH | lch(43.08, 65.20, 11.81°) |
| OKLab | oklab(53.46% 0.1937 0.0335) |
| OKLCH | oklch(53.46% 0.197 9.8) |
| XYZ | xyz(24.5595, 13.2103, 9.4386) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.30
Lipstick
#D5174E
ΔE00 4.43
Deep Pink
#CB0162
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 5.07
Raspberry (survey)
#B00149
ΔE00 5.13
Dark Hot Pink
#D90166
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C31F53 #1FC38F
analogous
#C31FA5 #C31F53 #C33D1F
triadic
#C31F53 #53C31F #1F53C3
tetradic
#C31F53 #A5C31F #1FC38F #3D1FC3
square
#C31F53 #A5C31F #1FC38F #3D1FC3
split-complementary
#C31F53 #1FC33D #1FA5C3
monochromatic
#590E26 #8E173D #C31F53 #E03F72 #E97499
Accessibility & contrast
On white
5.77
#C31F53 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#C31F53 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C31F53
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C31F53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C31F53 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505154
Deuteranopia (green-blind)
#79714F
Tritanopia (blue-blind)
#D50037
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c31f53; /* rgb */ color: rgb(195, 31, 83); /* oklch */ color: oklch(53.5% 0.197 9.8);
Tailwind
colors: {
custom: {
50: '#dd6f83',
500: '#c31f53',
950: '#000000',
},
}SCSS
$custom: #c31f53; $custom-light: #dd6f83; $custom-dark: #000000;
JSON
{
"hex": "#c31f53",
"rgb": {
"r": 195,
"g": 31,
"b": 83
},
"hsl": {
"h": 340.976,
"s": 72.566,
"l": 44.314
},
"oklch": {
"l": 0.53464,
"c": 0.19658,
"h": 9.8
},
"luminance": 0.13207
}Semantic roles & 50–950 ramp
primary
#C31F53
secondary
#6ED0B1
accent
#EFB539
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C