#C5315F#C5315F
#C5315F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.185 H 7.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C5315F |
|---|---|
| RGB | rgb(197, 49, 95) |
| HSL | hsl(341, 60%, 48%) |
| HSV | hsv(341, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 51.8%, 22.7%) |
| CIE-LAB | lab(45.49, 60.32, 9.29) |
| CIE-LCH | lch(45.49, 61.03, 8.75°) |
| OKLab | oklab(55.4% 0.1838 0.024) |
| OKLCH | oklch(55.4% 0.185 7.4) |
| XYZ | xyz(26.1922, 14.8968, 12.3204) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.60
Deep Pink
#CB0162
ΔE00 3.94
Dark Hot Pink
#D90166
ΔE00 3.95
Deep Rose
#C74767
ΔE00 4.02
Cerise
#DE0C62
ΔE00 4.16
Dark Rose
#B5485D
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5315F #31C597
analogous
#C531A9 #C5315F #C54D31
triadic
#C5315F #5FC531 #315FC5
tetradic
#C5315F #A9C531 #31C597 #4D31C5
square
#C5315F #A9C531 #31C597 #4D31C5
split-complementary
#C5315F #31C54D #31A9C5
monochromatic
#631930 #942547 #C5315F #D75D83 #E38EA8
Accessibility & contrast
On white
5.28
#C5315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#C5315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5315F
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5315F | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565960
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D70644
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c5315f; /* rgb */ color: rgb(197, 49, 95); /* oklch */ color: oklch(55.4% 0.185 7.4);
Tailwind
colors: {
custom: {
50: '#dd768c',
500: '#c5315f',
950: '#000000',
},
}SCSS
$custom: #c5315f; $custom-light: #dd768c; $custom-dark: #000000;
JSON
{
"hex": "#c5315f",
"rgb": {
"r": 197,
"g": 49,
"b": 95
},
"hsl": {
"h": 341.351,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.55404,
"c": 0.18538,
"h": 7.4
},
"luminance": 0.14893
}Semantic roles & 50–950 ramp
primary
#C5315F
secondary
#85CDB7
accent
#E3B244
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D