#C851A2#C851A2
#C851A2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.176 H 342.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C851A2 |
|---|---|
| RGB | rgb(200, 81, 162) |
| HSL | hsl(319, 52%, 55%) |
| HSV | hsv(319, 60%, 78%) |
| CMYK | cmyk(0%, 59.5%, 19%, 21.6%) |
| CIE-LAB | lab(52.70, 56.29, -20.39) |
| CIE-LCH | lch(52.70, 59.87, 340.09°) |
| OKLab | oklab(61.53% 0.1677 -0.0545) |
| OKLCH | oklch(61.53% 0.176 342) |
| XYZ | xyz(33.2842, 20.7758, 36.4326) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.42
Pinky Purple
#C94CBE
ΔE00 5.72
Pale Magenta
#D767AD
ΔE00 6.24
Purpley Pink
#C83CB9
ΔE00 6.35
Purpleish Pink
#DF4EC8
ΔE00 7.03
Bright Pink
#FE01B1
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C851A2 #51C877
analogous
#B351C8 #C851A2 #C85166
triadic
#C851A2 #A2C851 #51A2C8
tetradic
#C851A2 #C8B351 #51C877 #5166C8
square
#C851A2 #C8B351 #51C877 #5166C8
split-complementary
#C851A2 #66C851 #51C8B3
monochromatic
#79265E #A73583 #C851A2 #D780BB #E5AED4
Accessibility & contrast
On white
4.07
#C851A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#C851A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C851A2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C851A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C851A2 | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D35272
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c851a2; /* rgb */ color: rgb(200, 81, 162); /* oklch */ color: oklch(61.5% 0.176 342.0);
Tailwind
colors: {
custom: {
50: '#dc88bd',
500: '#c851a2',
950: '#000000',
},
}SCSS
$custom: #c851a2; $custom-light: #dc88bd; $custom-dark: #000000;
JSON
{
"hex": "#c851a2",
"rgb": {
"r": 200,
"g": 81,
"b": 162
},
"hsl": {
"h": 319.16,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.61533,
"c": 0.17636,
"h": 342
},
"luminance": 0.20773
}Semantic roles & 50–950 ramp
primary
#C851A2
secondary
#A1D3B1
accent
#DB7A4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81