#C252AA#C252AA
#C252AA is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.176 H 336.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C252AA |
|---|---|
| RGB | rgb(194, 82, 170) |
| HSL | hsl(313, 48%, 54%) |
| HSV | hsv(313, 58%, 76%) |
| CMYK | cmyk(0%, 57.7%, 12.4%, 23.9%) |
| CIE-LAB | lab(52.30, 55.33, -25.78) |
| CIE-LCH | lch(52.30, 61.05, 335.02°) |
| OKLab | oklab(61.16% 0.1617 -0.0698) |
| OKLCH | oklch(61.16% 0.176 336.6) |
| XYZ | xyz(32.5215, 20.4087, 40.2488) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.80
Purplish Pink
#CE5DAE
ΔE00 3.93
Purpley Pink
#C83CB9
ΔE00 4.64
Purpleish Pink
#DF4EC8
ΔE00 6.34
Pale Magenta
#D767AD
ΔE00 7.38
Pinkish Purple
#D648D7
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C252AA #52C26A
analogous
#A252C2 #C252AA #C25272
triadic
#C252AA #AAC252 #52AAC2
tetradic
#C252AA #C2A252 #52C26A #5272C2
square
#C252AA #C2A252 #52C26A #5272C2
split-complementary
#C252AA #72C252 #52C2A2
monochromatic
#722862 #9F3889 #C252AA #D27FC0 #E2ACD6
Accessibility & contrast
On white
4.13
#C252AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#C252AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C252AA
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C252AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C252AA | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#CB5777
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c252aa; /* rgb */ color: rgb(194, 82, 170); /* oklch */ color: oklch(61.2% 0.176 336.6);
Tailwind
colors: {
custom: {
50: '#d788c3',
500: '#c252aa',
950: '#000000',
},
}SCSS
$custom: #c252aa; $custom-light: #d788c3; $custom-dark: #000000;
JSON
{
"hex": "#c252aa",
"rgb": {
"r": 194,
"g": 82,
"b": 170
},
"hsl": {
"h": 312.857,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.61161,
"c": 0.1761,
"h": 336.6
},
"luminance": 0.20406
}Semantic roles & 50–950 ramp
primary
#C252AA
secondary
#A0D0AA
accent
#D76D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81