#C871A2#C871A2
#C871A2 is a light, vivid pink. Relative luminance 0.267; OKLCH L 66.0% C 0.124 H 346.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C871A2 |
|---|---|
| RGB | rgb(200, 113, 162) |
| HSL | hsl(326, 44%, 61%) |
| HSV | hsv(326, 44%, 78%) |
| CMYK | cmyk(0%, 43.5%, 19%, 21.6%) |
| CIE-LAB | lab(58.70, 40.62, -11.30) |
| CIE-LCH | lch(58.70, 42.16, 344.45°) |
| OKLab | oklab(66.01% 0.1208 -0.0297) |
| OKLCH | oklch(66.01% 0.124 346.2) |
| XYZ | xyz(36.2467, 26.7008, 37.4201) |
| Luminance | 0.2670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.10
Purplish Pink
#CE5DAE
ΔE00 6.22
Palevioletred
#DB7093
ΔE00 6.64
Muted Pink
#D1768F
ΔE00 7.37
Orchid (survey)
#C875C4
ΔE00 7.70
Dull Pink
#D5869D
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C871A2 #71C897
analogous
#C371C8 #C871A2 #C87177
triadic
#C871A2 #A2C871 #71A2C8
tetradic
#C871A2 #C8C371 #71C897 #7177C8
square
#C871A2 #C8C371 #71C897 #7177C8
split-complementary
#C871A2 #77C871 #71C8C3
monochromatic
#893565 #B64685 #C871A2 #D99DBF #EAC9DC
Accessibility & contrast
On white
3.31
#C871A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#C871A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C871A2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C871A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C871A2 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#8E93A0
Tritanopia (blue-blind)
#D27083
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c871a2; /* rgb */ color: rgb(200, 113, 162); /* oklch */ color: oklch(66.0% 0.124 346.2);
Tailwind
colors: {
custom: {
50: '#da9cbd',
500: '#c871a2',
950: '#000000',
},
}SCSS
$custom: #c871a2; $custom-light: #da9cbd; $custom-dark: #000000;
JSON
{
"hex": "#c871a2",
"rgb": {
"r": 200,
"g": 113,
"b": 162
},
"hsl": {
"h": 326.207,
"s": 44.162,
"l": 61.373
},
"oklch": {
"l": 0.66005,
"c": 0.12444,
"h": 346.2
},
"luminance": 0.26698
}Semantic roles & 50–950 ramp
primary
#C871A2
secondary
#BADBC8
accent
#B76A2E
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E12
muted
#837E81