#C952A2#C952A2
#C952A2 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.176 H 342.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C952A2 |
|---|---|
| RGB | rgb(201, 82, 162) |
| HSL | hsl(320, 52%, 55%) |
| HSV | hsv(320, 59%, 79%) |
| CMYK | cmyk(0%, 59.2%, 19.4%, 21.2%) |
| CIE-LAB | lab(53.02, 56.14, -19.90) |
| CIE-LCH | lch(53.02, 59.56, 340.48°) |
| OKLab | oklab(61.8% 0.1674 -0.0531) |
| OKLCH | oklch(61.8% 0.176 342.4) |
| XYZ | xyz(33.6271, 21.0637, 36.4701) |
| Luminance | 0.2106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.18
Pinky Purple
#C94CBE
ΔE00 5.89
Pale Magenta
#D767AD
ΔE00 5.89
Purpley Pink
#C83CB9
ΔE00 6.63
Purpleish Pink
#DF4EC8
ΔE00 6.99
Bright Pink
#FE01B1
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C952A2 #52C979
analogous
#B552C9 #C952A2 #C95266
triadic
#C952A2 #A2C952 #52A2C9
tetradic
#C952A2 #C9B552 #52C979 #5266C9
square
#C952A2 #C9B552 #52C979 #5266C9
split-complementary
#C952A2 #66C952 #52C9B5
monochromatic
#7A265F #A93583 #C952A2 #D881BB #E6AFD4
Accessibility & contrast
On white
4.03
#C952A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#C952A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C952A2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C952A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C952A2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B72A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D55373
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c952a2; /* rgb */ color: rgb(201, 82, 162); /* oklch */ color: oklch(61.8% 0.176 342.4);
Tailwind
colors: {
custom: {
50: '#dc89bd',
500: '#c952a2',
950: '#000000',
},
}SCSS
$custom: #c952a2; $custom-light: #dc89bd; $custom-dark: #000000;
JSON
{
"hex": "#c952a2",
"rgb": {
"r": 201,
"g": 82,
"b": 162
},
"hsl": {
"h": 319.664,
"s": 52.423,
"l": 55.49
},
"oklch": {
"l": 0.61796,
"c": 0.17564,
"h": 342.4
},
"luminance": 0.21061
}Semantic roles & 50–950 ramp
primary
#C952A2
secondary
#A3D4B3
accent
#DC7B4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81