#C7315B#C7315B
#C7315B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.187 H 9.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C7315B |
|---|---|
| RGB | rgb(199, 49, 91) |
| HSL | hsl(343, 60%, 49%) |
| HSV | hsv(343, 75%, 78%) |
| CMYK | cmyk(0%, 75.4%, 54.3%, 22%) |
| CIE-LAB | lab(45.77, 60.58, 12.20) |
| CIE-LCH | lch(45.77, 61.79, 11.39°) |
| OKLab | oklab(55.64% 0.1839 0.031) |
| OKLCH | oklch(55.64% 0.187 9.6) |
| XYZ | xyz(26.5423, 15.0978, 11.4120) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 3.91
Dark Pink
#CB416B
ΔE00 4.01
Cerise
#DE0C62
ΔE00 4.11
Lipstick
#D5174E
ΔE00 4.12
Dark Rose
#B5485D
ΔE00 4.31
Dark Hot Pink
#D90166
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7315B #31C79D
analogous
#C731A6 #C7315B #C75231
triadic
#C7315B #5BC731 #315BC7
tetradic
#C7315B #A6C731 #31C79D #5231C7
square
#C7315B #A6C731 #31C79D #5231C7
split-complementary
#C7315B #31C752 #31A6C7
monochromatic
#65192E #962545 #C7315B #D75E80 #E38FA7
Accessibility & contrast
On white
5.23
#C7315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#C7315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C7315B
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C7315B | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58595C
Deuteranopia (green-blind)
#7F7757
Tritanopia (blue-blind)
#D90043
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c7315b; /* rgb */ color: rgb(199, 49, 91); /* oklch */ color: oklch(55.6% 0.187 9.6);
Tailwind
colors: {
custom: {
50: '#df7689',
500: '#c7315b',
950: '#000000',
},
}SCSS
$custom: #c7315b; $custom-light: #df7689; $custom-dark: #000000;
JSON
{
"hex": "#c7315b",
"rgb": {
"r": 199,
"g": 49,
"b": 91
},
"hsl": {
"h": 343.2,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.55644,
"c": 0.18653,
"h": 9.6
},
"luminance": 0.15094
}Semantic roles & 50–950 ramp
primary
#C7315B
secondary
#86CEBA
accent
#E4B744
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C