#C5316F#C5316F
#C5316F is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.9% C 0.189 H 0.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C5316F |
|---|---|
| RGB | rgb(197, 49, 111) |
| HSL | hsl(335, 60%, 48%) |
| HSV | hsv(335, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 43.7%, 22.7%) |
| CIE-LAB | lab(45.93, 61.72, 0.04) |
| CIE-LCH | lch(45.93, 61.72, 0.04°) |
| OKLab | oklab(55.87% 0.1895 0.0008) |
| OKLCH | oklch(55.87% 0.189 0.2) |
| XYZ | xyz(26.9956, 15.2182, 16.5517) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.76
Dark Hot Pink
#D90166
ΔE00 4.28
Dark Pink
#CB416B
ΔE00 4.59
Magenta (survey)
#C20078
ΔE00 5.84
Cerise
#DE0C62
ΔE00 5.92
Deep Rose
#C74767
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5316F #31C587
analogous
#C531B9 #C5316F #C53D31
triadic
#C5316F #6FC531 #316FC5
tetradic
#C5316F #B9C531 #31C587 #3D31C5
square
#C5316F #B9C531 #31C587 #3D31C5
split-complementary
#C5316F #31C53D #31B9C5
monochromatic
#631938 #942553 #C5316F #D75D90 #E38EB1
Accessibility & contrast
On white
5.19
#C5316F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#C5316F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5316F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5316F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5316F | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525B71
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#D6164C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c5316f; /* rgb */ color: rgb(197, 49, 111); /* oklch */ color: oklch(55.9% 0.189 0.2);
Tailwind
colors: {
custom: {
50: '#dc7798',
500: '#c5316f',
950: '#000000',
},
}SCSS
$custom: #c5316f; $custom-light: #dc7798; $custom-dark: #000000;
JSON
{
"hex": "#c5316f",
"rgb": {
"r": 197,
"g": 49,
"b": 111
},
"hsl": {
"h": 334.865,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.55871,
"c": 0.18947,
"h": 0.2
},
"luminance": 0.15215
}Semantic roles & 50–950 ramp
primary
#C5316F
secondary
#85CDAF
accent
#E3A144
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E