#C02FA1#C02FA1
#C02FA1 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.214 H 338.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FA1 |
|---|---|
| RGB | rgb(192, 47, 161) |
| HSL | hsl(313, 61%, 47%) |
| HSV | hsv(313, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 16.1%, 24.7%) |
| CIE-LAB | lab(46.73, 66.94, -29.14) |
| CIE-LCH | lch(46.73, 73.01, 336.47°) |
| OKLab | oklab(56.91% 0.1984 -0.0791) |
| OKLCH | oklch(56.91% 0.214 338.3) |
| XYZ | xyz(29.1884, 15.8155, 35.2268) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.83
Ugly Purple
#A442A0
ΔE00 5.19
Mediumvioletred
#C71585
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.51
Pinky Purple
#C94CBE
ΔE00 7.26
Barney
#AC1DB8
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FA1 #2FC04E
analogous
#972FC0 #C02FA1 #C02F58
triadic
#C02FA1 #A1C02F #2FA1C0
tetradic
#C02FA1 #C0972F #2FC04E #2F58C0
square
#C02FA1 #C0972F #2FC04E #2F58C0
split-complementary
#C02FA1 #58C02F #2FC097
monochromatic
#5E174F #8F2378 #C02FA1 #D656BB #E288CF
Accessibility & contrast
On white
5.04
#C02FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#C02FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FA1
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FA1 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#67779E
Tritanopia (blue-blind)
#CB3765
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c02fa1; /* rgb */ color: rgb(192, 47, 161); /* oklch */ color: oklch(56.9% 0.214 338.3);
Tailwind
colors: {
custom: {
50: '#d777bd',
500: '#c02fa1',
950: '#000000',
},
}SCSS
$custom: #c02fa1; $custom-light: #d777bd; $custom-dark: #000000;
JSON
{
"hex": "#c02fa1",
"rgb": {
"r": 192,
"g": 47,
"b": 161
},
"hsl": {
"h": 312.828,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.56912,
"c": 0.21357,
"h": 338.3
},
"luminance": 0.15813
}Semantic roles & 50–950 ramp
primary
#C02FA1
secondary
#7FCB90
accent
#E46644
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81