#C871AC#C871AC
#C871AC is a light, vivid pink. Relative luminance 0.271; OKLCH L 66.4% C 0.131 H 340.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C871AC |
|---|---|
| RGB | rgb(200, 113, 172) |
| HSL | hsl(319, 44%, 61%) |
| HSV | hsv(319, 44%, 78%) |
| CMYK | cmyk(0%, 43.5%, 14%, 21.6%) |
| CIE-LAB | lab(59.04, 42.20, -16.54) |
| CIE-LCH | lch(59.04, 45.33, 338.59°) |
| OKLab | oklab(66.38% 0.1238 -0.0441) |
| OKLCH | oklch(66.38% 0.131 340.4) |
| XYZ | xyz(37.1712, 27.0706, 42.2890) |
| Luminance | 0.2707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.28
Purplish Pink
#CE5DAE
ΔE00 4.82
Orchid (survey)
#C875C4
ΔE00 5.23
Orchid
#DA70D6
ΔE00 8.09
Lavender Pink
#DD85D7
ΔE00 8.60
Soft Purple
#A66FB5
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C871AC #71C88D
analogous
#B971C8 #C871AC #C87181
triadic
#C871AC #ACC871 #71ACC8
tetradic
#C871AC #C8B971 #71C88D #7181C8
square
#C871AC #C8B971 #71C88D #7181C8
split-complementary
#C871AC #81C871 #71C8B9
monochromatic
#89356E #B64692 #C871AC #D99DC6 #EAC9E0
Accessibility & contrast
On white
3.27
#C871AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#C871AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C871AC
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C871AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C871AC | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7586AE
Deuteranopia (green-blind)
#8C93AA
Tritanopia (blue-blind)
#D17287
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c871ac; /* rgb */ color: rgb(200, 113, 172); /* oklch */ color: oklch(66.4% 0.131 340.4);
Tailwind
colors: {
custom: {
50: '#da9cc4',
500: '#c871ac',
950: '#000000',
},
}SCSS
$custom: #c871ac; $custom-light: #da9cc4; $custom-dark: #000000;
JSON
{
"hex": "#c871ac",
"rgb": {
"r": 200,
"g": 113,
"b": 172
},
"hsl": {
"h": 319.31,
"s": 44.162,
"l": 61.373
},
"oklch": {
"l": 0.66376,
"c": 0.13142,
"h": 340.4
},
"luminance": 0.27068
}Semantic roles & 50–950 ramp
primary
#C871AC
secondary
#BADBC5
accent
#B75A2E
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E12
muted
#837E81