#C02DA3#C02DA3
#C02DA3 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.9% C 0.217 H 337.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C02DA3 |
|---|---|
| RGB | rgb(192, 45, 163) |
| HSL | hsl(312, 62%, 46%) |
| HSV | hsv(312, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 15.1%, 24.7%) |
| CIE-LAB | lab(46.62, 67.81, -30.51) |
| CIE-LCH | lch(46.62, 74.36, 335.78°) |
| OKLab | oklab(56.86% 0.2004 -0.083) |
| OKLCH | oklch(56.86% 0.217 337.5) |
| XYZ | xyz(29.2881, 15.7304, 36.1370) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.69
Ugly Purple
#A442A0
ΔE00 5.09
Mediumvioletred
#C71585
ΔE00 6.30
Medium Purple
#9E43A2
ΔE00 6.36
Barney
#AC1DB8
ΔE00 7.18
Pinky Purple
#C94CBE
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02DA3 #2DC04A
analogous
#942DC0 #C02DA3 #C02D5A
triadic
#C02DA3 #A3C02D #2DA3C0
tetradic
#C02DA3 #C0942D #2DC04A #2D5AC0
square
#C02DA3 #C0942D #2DC04A #2D5AC0
split-complementary
#C02DA3 #5AC02D #2DC094
monochromatic
#5D164F #8E2179 #C02DA3 #D753BD #E285D0
Accessibility & contrast
On white
5.07
#C02DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#C02DA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02DA3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02DA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02DA3 | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#6676A0
Tritanopia (blue-blind)
#CB3666
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c02da3; /* rgb */ color: rgb(192, 45, 163); /* oklch */ color: oklch(56.9% 0.217 337.5);
Tailwind
colors: {
custom: {
50: '#d776be',
500: '#c02da3',
950: '#000000',
},
}SCSS
$custom: #c02da3; $custom-light: #d776be; $custom-dark: #000000;
JSON
{
"hex": "#c02da3",
"rgb": {
"r": 192,
"g": 45,
"b": 163
},
"hsl": {
"h": 311.837,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.56862,
"c": 0.21687,
"h": 337.5
},
"luminance": 0.15728
}Semantic roles & 50–950 ramp
primary
#C02DA3
secondary
#7DCC8D
accent
#E56343
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81