#C8517A#C8517A
#C8517A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.1% C 0.156 H 1.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C8517A |
|---|---|
| RGB | rgb(200, 81, 122) |
| HSL | hsl(339, 52%, 55%) |
| HSV | hsv(339, 60%, 78%) |
| CMYK | cmyk(0%, 59.5%, 39%, 21.6%) |
| CIE-LAB | lab(51.35, 51.17, 1.32) |
| CIE-LCH | lch(51.35, 51.19, 1.48°) |
| OKLab | oklab(60.09% 0.1561 0.0041) |
| OKLCH | oklch(60.09% 0.156 1.5) |
| XYZ | xyz(30.2765, 19.5727, 20.5920) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.24
Dark Pink
#CB416B
ΔE00 4.00
Deep Rose
#C74767
ΔE00 4.70
Blush
#DE5D83
ΔE00 5.78
Rose (survey)
#CF6275
ΔE00 6.62
Cherry
#DE3163
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8517A #51C89F
analogous
#C851B5 #C8517A #C86451
triadic
#C8517A #7AC851 #517AC8
tetradic
#C8517A #B5C851 #51C89F #6451C8
square
#C8517A #B5C851 #51C89F #6451C8
split-complementary
#C8517A #51C864 #51B5C8
monochromatic
#792642 #A7355C #C8517A #D7809E #E5AEC1
Accessibility & contrast
On white
4.27
#C8517A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#C8517A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C8517A
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8517A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8517A | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#D84561
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c8517a; /* rgb */ color: rgb(200, 81, 122); /* oklch */ color: oklch(60.1% 0.156 1.5);
Tailwind
colors: {
custom: {
50: '#dd87a0',
500: '#c8517a',
950: '#000000',
},
}SCSS
$custom: #c8517a; $custom-light: #dd87a0; $custom-dark: #000000;
JSON
{
"hex": "#c8517a",
"rgb": {
"r": 200,
"g": 81,
"b": 122
},
"hsl": {
"h": 339.328,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.60086,
"c": 0.15616,
"h": 1.5
},
"luminance": 0.19569
}Semantic roles & 50–950 ramp
primary
#C8517A
secondary
#A1D3C2
accent
#DBAA4C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E