#C852A2#C852A2
#C852A2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.175 H 342.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C852A2 |
|---|---|
| RGB | rgb(200, 82, 162) |
| HSL | hsl(319, 52%, 55%) |
| HSV | hsv(319, 59%, 78%) |
| CMYK | cmyk(0%, 59%, 19%, 21.6%) |
| CIE-LAB | lab(52.87, 55.85, -20.14) |
| CIE-LCH | lch(52.87, 59.37, 340.17°) |
| OKLab | oklab(61.66% 0.1664 -0.0538) |
| OKLCH | oklch(61.66% 0.175 342.1) |
| XYZ | xyz(33.3591, 20.9255, 36.4575) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.26
Pinky Purple
#C94CBE
ΔE00 5.80
Pale Magenta
#D767AD
ΔE00 6.04
Purpley Pink
#C83CB9
ΔE00 6.51
Purpleish Pink
#DF4EC8
ΔE00 7.03
Bright Pink
#FE01B1
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C852A2 #52C878
analogous
#B352C8 #C852A2 #C85267
triadic
#C852A2 #A2C852 #52A2C8
tetradic
#C852A2 #C8B352 #52C878 #5267C8
square
#C852A2 #C8B352 #52C878 #5267C8
split-complementary
#C852A2 #67C852 #52C8B3
monochromatic
#79275E #A83583 #C852A2 #D780BB #E6AFD4
Accessibility & contrast
On white
4.05
#C852A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#C852A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C852A2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C852A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C852A2 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D35373
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #c852a2; /* rgb */ color: rgb(200, 82, 162); /* oklch */ color: oklch(61.7% 0.175 342.1);
Tailwind
colors: {
custom: {
50: '#dc89bd',
500: '#c852a2',
950: '#000000',
},
}SCSS
$custom: #c852a2; $custom-light: #dc89bd; $custom-dark: #000000;
JSON
{
"hex": "#c852a2",
"rgb": {
"r": 200,
"g": 82,
"b": 162
},
"hsl": {
"h": 319.322,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.61655,
"c": 0.17487,
"h": 342.1
},
"luminance": 0.20923
}Semantic roles & 50–950 ramp
primary
#C852A2
secondary
#A2D4B2
accent
#DB7B4D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81