#C5316A#C5316A
#C5316A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.188 H 2.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C5316A |
|---|---|
| RGB | rgb(197, 49, 106) |
| HSL | hsl(337, 60%, 48%) |
| HSV | hsv(337, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 46.2%, 22.7%) |
| CIE-LAB | lab(45.79, 61.26, 2.91) |
| CIE-LCH | lch(45.79, 61.33, 2.72°) |
| OKLab | oklab(55.72% 0.1878 0.0081) |
| OKLCH | oklch(55.72% 0.188 2.5) |
| XYZ | xyz(26.7280, 15.1111, 15.1422) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.24
Dark Hot Pink
#D90166
ΔE00 3.67
Dark Pink
#CB416B
ΔE00 3.84
Cerise
#DE0C62
ΔE00 5.07
Deep Rose
#C74767
ΔE00 5.21
Light Burgundy
#A8415B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5316A #31C58C
analogous
#C531B4 #C5316A #C54231
triadic
#C5316A #6AC531 #316AC5
tetradic
#C5316A #B4C531 #31C58C #4231C5
square
#C5316A #B4C531 #31C58C #4231C5
split-complementary
#C5316A #31C542 #31B4C5
monochromatic
#631935 #942550 #C5316A #D75D8C #E38EAE
Accessibility & contrast
On white
5.22
#C5316A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#C5316A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5316A
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5316A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5316A | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545A6B
Deuteranopia (green-blind)
#7B7767
Tritanopia (blue-blind)
#D6124A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c5316a; /* rgb */ color: rgb(197, 49, 106); /* oklch */ color: oklch(55.7% 0.188 2.5);
Tailwind
colors: {
custom: {
50: '#dc7694',
500: '#c5316a',
950: '#000000',
},
}SCSS
$custom: #c5316a; $custom-light: #dc7694; $custom-dark: #000000;
JSON
{
"hex": "#c5316a",
"rgb": {
"r": 197,
"g": 49,
"b": 106
},
"hsl": {
"h": 336.892,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.55716,
"c": 0.18796,
"h": 2.5
},
"luminance": 0.15108
}Semantic roles & 50–950 ramp
primary
#C5316A
secondary
#85CDB1
accent
#E3A644
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E