#C5316B#C5316B
#C5316B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.188 H 2.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C5316B |
|---|---|
| RGB | rgb(197, 49, 107) |
| HSL | hsl(336, 60%, 48%) |
| HSV | hsv(336, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 45.7%, 22.7%) |
| CIE-LAB | lab(45.81, 61.35, 2.33) |
| CIE-LCH | lch(45.81, 61.39, 2.18°) |
| OKLab | oklab(55.75% 0.1881 0.0067) |
| OKLCH | oklch(55.75% 0.188 2) |
| XYZ | xyz(26.7803, 15.1320, 15.4176) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.31
Dark Hot Pink
#D90166
ΔE00 3.77
Dark Pink
#CB416B
ΔE00 3.97
Cerise
#DE0C62
ΔE00 5.23
Deep Rose
#C74767
ΔE00 5.38
Light Burgundy
#A8415B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5316B #31C58B
analogous
#C531B5 #C5316B #C54131
triadic
#C5316B #6BC531 #316BC5
tetradic
#C5316B #B5C531 #31C58B #4131C5
square
#C5316B #B5C531 #31C58B #4131C5
split-complementary
#C5316B #31C541 #31B5C5
monochromatic
#631936 #942550 #C5316B #D75D8C #E38EAF
Accessibility & contrast
On white
5.22
#C5316B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#C5316B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5316B
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5316B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5316B | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#7B7768
Tritanopia (blue-blind)
#D6134A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c5316b; /* rgb */ color: rgb(197, 49, 107); /* oklch */ color: oklch(55.7% 0.188 2.0);
Tailwind
colors: {
custom: {
50: '#dc7695',
500: '#c5316b',
950: '#000000',
},
}SCSS
$custom: #c5316b; $custom-light: #dc7695; $custom-dark: #000000;
JSON
{
"hex": "#c5316b",
"rgb": {
"r": 197,
"g": 49,
"b": 107
},
"hsl": {
"h": 336.486,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.55747,
"c": 0.18824,
"h": 2
},
"luminance": 0.15128
}Semantic roles & 50–950 ramp
primary
#C5316B
secondary
#85CDB1
accent
#E3A544
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E