#C252A2#C252A2
#C252A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 340.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C252A2 |
|---|---|
| RGB | rgb(194, 82, 162) |
| HSL | hsl(317, 48%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 57.7%, 16.5%, 23.9%) |
| CIE-LAB | lab(51.97, 54.10, -21.60) |
| CIE-LCH | lch(51.97, 58.26, 338.23°) |
| OKLab | oklab(60.81% 0.1601 -0.058) |
| OKLCH | oklch(60.81% 0.17 340.1) |
| XYZ | xyz(31.7876, 20.1152, 36.3839) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.97
Pinky Purple
#C94CBE
ΔE00 5.42
Purpley Pink
#C83CB9
ΔE00 5.92
Pale Magenta
#D767AD
ΔE00 7.02
Purpleish Pink
#DF4EC8
ΔE00 7.42
Ugly Purple
#A442A0
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C252A2 #52C272
analogous
#AA52C2 #C252A2 #C2526A
triadic
#C252A2 #A2C252 #52A2C2
tetradic
#C252A2 #C2AA52 #52C272 #526AC2
square
#C252A2 #C2AA52 #52C272 #526AC2
split-complementary
#C252A2 #6AC252 #52C2AA
monochromatic
#72285D #9F3881 #C252A2 #D27FBA #E2ACD3
Accessibility & contrast
On white
4.18
#C252A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#C252A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C252A2
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C252A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C252A2 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#CC5473
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c252a2; /* rgb */ color: rgb(194, 82, 162); /* oklch */ color: oklch(60.8% 0.170 340.1);
Tailwind
colors: {
custom: {
50: '#d788bd',
500: '#c252a2',
950: '#000000',
},
}SCSS
$custom: #c252a2; $custom-light: #d788bd; $custom-dark: #000000;
JSON
{
"hex": "#c252a2",
"rgb": {
"r": 194,
"g": 82,
"b": 162
},
"hsl": {
"h": 317.143,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.60811,
"c": 0.17025,
"h": 340.1
},
"luminance": 0.20113
}Semantic roles & 50–950 ramp
primary
#C252A2
secondary
#A0D0AE
accent
#D77750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81