#C02FA5#C02FA5
#C02FA5 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.1% C 0.216 H 336.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FA5 |
|---|---|
| RGB | rgb(192, 47, 165) |
| HSL | hsl(311, 61%, 47%) |
| HSV | hsv(311, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 14.1%, 24.7%) |
| CIE-LAB | lab(46.92, 67.50, -31.23) |
| CIE-LCH | lch(46.92, 74.37, 335.18°) |
| OKLab | oklab(57.11% 0.1988 -0.085) |
| OKLCH | oklch(57.11% 0.216 336.8) |
| XYZ | xyz(29.5468, 15.9589, 37.1143) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.29
Ugly Purple
#A442A0
ΔE00 5.01
Medium Purple
#9E43A2
ΔE00 6.25
Mediumvioletred
#C71585
ΔE00 6.67
Pinky Purple
#C94CBE
ΔE00 6.84
Barney
#AC1DB8
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FA5 #2FC04A
analogous
#922FC0 #C02FA5 #C02F5D
triadic
#C02FA5 #A5C02F #2FA5C0
tetradic
#C02FA5 #C0922F #2FC04A #2F5DC0
square
#C02FA5 #C0922F #2FC04A #2F5DC0
split-complementary
#C02FA5 #5DC02F #2FC092
monochromatic
#5E1750 #8F237B #C02FA5 #D656BE #E288D1
Accessibility & contrast
On white
5.01
#C02FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#C02FA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FA5
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FA5 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3361A8
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#CA3967
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c02fa5; /* rgb */ color: rgb(192, 47, 165); /* oklch */ color: oklch(57.1% 0.216 336.8);
Tailwind
colors: {
custom: {
50: '#d777c0',
500: '#c02fa5',
950: '#000000',
},
}SCSS
$custom: #c02fa5; $custom-light: #d777c0; $custom-dark: #000000;
JSON
{
"hex": "#c02fa5",
"rgb": {
"r": 192,
"g": 47,
"b": 165
},
"hsl": {
"h": 311.172,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.5711,
"c": 0.21622,
"h": 336.8
},
"luminance": 0.15956
}Semantic roles & 50–950 ramp
primary
#C02FA5
secondary
#7FCB8E
accent
#E46244
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81