#C02DA6#C02DA6
#C02DA6 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.0% C 0.219 H 336.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DA6 |
|---|---|
| RGB | rgb(192, 45, 166) |
| HSL | hsl(311, 62%, 46%) |
| HSV | hsv(311, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 13.5%, 24.7%) |
| CIE-LAB | lab(46.76, 68.23, -32.07) |
| CIE-LCH | lch(46.76, 75.39, 334.83°) |
| OKLab | oklab(57.01% 0.2007 -0.0874) |
| OKLCH | oklch(57.01% 0.219 336.5) |
| XYZ | xyz(29.5601, 15.8392, 37.5695) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.32
Ugly Purple
#A442A0
ΔE00 4.99
Medium Purple
#9E43A2
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.79
Mediumvioletred
#C71585
ΔE00 6.83
Pinky Purple
#C94CBE
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DA6 #2DC047
analogous
#912DC0 #C02DA6 #C02D5D
triadic
#C02DA6 #A6C02D #2DA6C0
tetradic
#C02DA6 #C0912D #2DC047 #2D5DC0
square
#C02DA6 #C0912D #2DC047 #2D5DC0
split-complementary
#C02DA6 #5DC02D #2DC091
monochromatic
#5D1650 #8E217B #C02DA6 #D753C0 #E285D2
Accessibility & contrast
On white
5.04
#C02DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#C02DA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DA6
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DA6 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#CA3867
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c02da6; /* rgb */ color: rgb(192, 45, 166); /* oklch */ color: oklch(57.0% 0.219 336.5);
Tailwind
colors: {
custom: {
50: '#d776c1',
500: '#c02da6',
950: '#000000',
},
}SCSS
$custom: #c02da6; $custom-light: #d776c1; $custom-dark: #000000;
JSON
{
"hex": "#c02da6",
"rgb": {
"r": 192,
"g": 45,
"b": 166
},
"hsl": {
"h": 310.612,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.57012,
"c": 0.21887,
"h": 336.5
},
"luminance": 0.15836
}Semantic roles & 50–950 ramp
primary
#C02DA6
secondary
#7DCC8B
accent
#E55F43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81