#C871B2#C871B2
#C871B2 is a light, vivid pink. Relative luminance 0.273; OKLCH L 66.6% C 0.136 H 337.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C871B2 |
|---|---|
| RGB | rgb(200, 113, 178) |
| HSL | hsl(315, 44%, 61%) |
| HSV | hsv(315, 44%, 78%) |
| CMYK | cmyk(0%, 43.5%, 11%, 21.6%) |
| CIE-LAB | lab(59.26, 43.18, -19.65) |
| CIE-LCH | lch(59.26, 47.45, 335.53°) |
| OKLab | oklab(66.61% 0.1254 -0.0528) |
| OKLCH | oklch(66.61% 0.136 337.2) |
| XYZ | xyz(37.7605, 27.3063, 45.3926) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.60
Orchid (survey)
#C875C4
ΔE00 3.83
Purplish Pink
#CE5DAE
ΔE00 4.50
Orchid
#DA70D6
ΔE00 6.81
Lavender Pink
#DD85D7
ΔE00 7.68
Soft Purple
#A66FB5
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C871B2 #71C887
analogous
#B371C8 #C871B2 #C87187
triadic
#C871B2 #B2C871 #71B2C8
tetradic
#C871B2 #C8B371 #71C887 #7187C8
square
#C871B2 #C8B371 #71C887 #7187C8
split-complementary
#C871B2 #87C871 #71C8B3
monochromatic
#893574 #B64699 #C871B2 #D99DCA #EAC9E2
Accessibility & contrast
On white
3.25
#C871B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#C871B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C871B2
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C871B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C871B2 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#8A93B0
Tritanopia (blue-blind)
#D0748A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c871b2; /* rgb */ color: rgb(200, 113, 178); /* oklch */ color: oklch(66.6% 0.136 337.2);
Tailwind
colors: {
custom: {
50: '#da9cc9',
500: '#c871b2',
950: '#000000',
},
}SCSS
$custom: #c871b2; $custom-light: #da9cc9; $custom-dark: #000000;
JSON
{
"hex": "#c871b2",
"rgb": {
"r": 200,
"g": 113,
"b": 178
},
"hsl": {
"h": 315.172,
"s": 44.162,
"l": 61.373
},
"oklch": {
"l": 0.66611,
"c": 0.13608,
"h": 337.2
},
"luminance": 0.27304
}Semantic roles & 50–950 ramp
primary
#C871B2
secondary
#BADBC2
accent
#B7512E
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82