#C02DA1#C02DA1
#C02DA1 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.216 H 338.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DA1 |
|---|---|
| RGB | rgb(192, 45, 161) |
| HSL | hsl(313, 62%, 46%) |
| HSV | hsv(313, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 16.1%, 24.7%) |
| CIE-LAB | lab(46.52, 67.53, -29.46) |
| CIE-LCH | lch(46.52, 73.68, 336.43°) |
| OKLab | oklab(56.76% 0.2002 -0.08) |
| OKLCH | oklch(56.76% 0.216 338.2) |
| XYZ | xyz(29.1103, 15.6593, 35.2007) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 5.20
Mediumvioletred
#C71585
ΔE00 5.94
Medium Purple
#9E43A2
ΔE00 6.49
Pinky Purple
#C94CBE
ΔE00 7.45
Barney
#AC1DB8
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DA1 #2DC04C
analogous
#962DC0 #C02DA1 #C02D58
triadic
#C02DA1 #A1C02D #2DA1C0
tetradic
#C02DA1 #C0962D #2DC04C #2D58C0
square
#C02DA1 #C0962D #2DC04C #2D58C0
split-complementary
#C02DA1 #58C02D #2DC096
monochromatic
#5D164E #8E2177 #C02DA1 #D753BB #E285CF
Accessibility & contrast
On white
5.08
#C02DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#C02DA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DA1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DA1 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3460A4
Deuteranopia (green-blind)
#67769E
Tritanopia (blue-blind)
#CB3565
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c02da1; /* rgb */ color: rgb(192, 45, 161); /* oklch */ color: oklch(56.8% 0.216 338.2);
Tailwind
colors: {
custom: {
50: '#d776bd',
500: '#c02da1',
950: '#000000',
},
}SCSS
$custom: #c02da1; $custom-light: #d776bd; $custom-dark: #000000;
JSON
{
"hex": "#c02da1",
"rgb": {
"r": 192,
"g": 45,
"b": 161
},
"hsl": {
"h": 312.653,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.56763,
"c": 0.21557,
"h": 338.2
},
"luminance": 0.15656
}Semantic roles & 50–950 ramp
primary
#C02DA1
secondary
#7DCC8E
accent
#E56543
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81