#C7517E#C7517E
#C7517E is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.1% C 0.157 H 359.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C7517E |
|---|---|
| RGB | rgb(199, 81, 126) |
| HSL | hsl(337, 51%, 55%) |
| HSV | hsv(337, 59%, 78%) |
| CMYK | cmyk(0%, 59.3%, 36.7%, 22%) |
| CIE-LAB | lab(51.31, 51.30, -1.15) |
| CIE-LCH | lch(51.31, 51.31, 358.71°) |
| OKLab | oklab(60.06% 0.1565 -0.0024) |
| OKLCH | oklch(60.06% 0.157 359.1) |
| XYZ | xyz(30.2632, 19.5366, 21.9118) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.51
Dark Pink
#CB416B
ΔE00 4.87
Deep Rose
#C74767
ΔE00 5.77
Blush
#DE5D83
ΔE00 6.27
Rose (survey)
#CF6275
ΔE00 7.60
Cherry
#DE3163
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7517E #51C79A
analogous
#C751B9 #C7517E #C75F51
triadic
#C7517E #7EC751 #517EC7
tetradic
#C7517E #B9C751 #51C79A #5F51C7
square
#C7517E #B9C751 #51C79A #5F51C7
split-complementary
#C7517E #51C75F #51B9C7
monochromatic
#772645 #A63560 #C7517E #D67FA0 #E5AEC3
Accessibility & contrast
On white
4.28
#C7517E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#C7517E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C7517E
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7517E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7517E | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 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)
#656C7F
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#D64762
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #c7517e; /* rgb */ color: rgb(199, 81, 126); /* oklch */ color: oklch(60.1% 0.157 359.1);
Tailwind
colors: {
custom: {
50: '#dc87a3',
500: '#c7517e',
950: '#000000',
},
}SCSS
$custom: #c7517e; $custom-light: #dc87a3; $custom-dark: #000000;
JSON
{
"hex": "#c7517e",
"rgb": {
"r": 199,
"g": 81,
"b": 126
},
"hsl": {
"h": 337.119,
"s": 51.304,
"l": 54.902
},
"oklch": {
"l": 0.60062,
"c": 0.15651,
"h": 359.1
},
"luminance": 0.19533
}Semantic roles & 50–950 ramp
primary
#C7517E
secondary
#A1D3C0
accent
#DBA54D
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F