#C02DA2#C02DA2
#C02DA2 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.216 H 337.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DA2 |
|---|---|
| RGB | rgb(192, 45, 162) |
| HSL | hsl(312, 62%, 46%) |
| HSV | hsv(312, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 15.6%, 24.7%) |
| CIE-LAB | lab(46.57, 67.67, -29.99) |
| CIE-LCH | lch(46.57, 74.02, 336.10°) |
| OKLab | oklab(56.81% 0.2003 -0.0815) |
| OKLCH | oklch(56.81% 0.216 337.9) |
| XYZ | xyz(29.1989, 15.6947, 35.6670) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.83
Ugly Purple
#A442A0
ΔE00 5.14
Mediumvioletred
#C71585
ΔE00 6.12
Medium Purple
#9E43A2
ΔE00 6.42
Barney
#AC1DB8
ΔE00 7.31
Pinky Purple
#C94CBE
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DA2 #2DC04B
analogous
#952DC0 #C02DA2 #C02D59
triadic
#C02DA2 #A2C02D #2DA2C0
tetradic
#C02DA2 #C0952D #2DC04B #2D59C0
square
#C02DA2 #C0952D #2DC04B #2D59C0
split-complementary
#C02DA2 #59C02D #2DC095
monochromatic
#5D164E #8E2178 #C02DA2 #D753BC #E285CF
Accessibility & contrast
On white
5.07
#C02DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#C02DA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DA2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DA2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#CB3665
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c02da2; /* rgb */ color: rgb(192, 45, 162); /* oklch */ color: oklch(56.8% 0.216 337.9);
Tailwind
colors: {
custom: {
50: '#d776be',
500: '#c02da2',
950: '#000000',
},
}SCSS
$custom: #c02da2; $custom-light: #d776be; $custom-dark: #000000;
JSON
{
"hex": "#c02da2",
"rgb": {
"r": 192,
"g": 45,
"b": 162
},
"hsl": {
"h": 312.245,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.56812,
"c": 0.21622,
"h": 337.9
},
"luminance": 0.15692
}Semantic roles & 50–950 ramp
primary
#C02DA2
secondary
#7DCC8D
accent
#E56443
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81