#C02A9C#C02A9C
#C02A9C is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.215 H 339.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C02A9C |
|---|---|
| RGB | rgb(192, 42, 156) |
| HSL | hsl(314, 64%, 46%) |
| HSV | hsv(314, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 18.7%, 24.7%) |
| CIE-LAB | lab(46.00, 67.70, -27.30) |
| CIE-LCH | lch(46.00, 73.00, 338.04°) |
| OKLab | oklab(56.31% 0.2022 -0.0738) |
| OKLCH | oklch(56.31% 0.215 339.9) |
| XYZ | xyz(28.5678, 15.2656, 32.8881) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.02
Ugly Purple
#A442A0
ΔE00 5.58
Purpley Pink
#C83CB9
ΔE00 5.86
Medium Purple
#9E43A2
ΔE00 6.90
Magenta (survey)
#C20078
ΔE00 7.35
Barney
#AC1DB8
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02A9C #2AC04E
analogous
#992AC0 #C02A9C #C02A51
triadic
#C02A9C #9CC02A #2A9CC0
tetradic
#C02A9C #C0992A #2AC04E #2A51C0
square
#C02A9C #C0992A #2AC04E #2A51C0
split-complementary
#C02A9C #51C02A #2AC099
monochromatic
#5C144A #8E1F73 #C02A9C #D84FB7 #E381CC
Accessibility & contrast
On white
5.18
#C02A9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#C02A9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02A9C
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02A9C | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#687599
Tritanopia (blue-blind)
#CC3061
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c02a9c; /* rgb */ color: rgb(192, 42, 156); /* oklch */ color: oklch(56.3% 0.215 339.9);
Tailwind
colors: {
custom: {
50: '#d775b9',
500: '#c02a9c',
950: '#000000',
},
}SCSS
$custom: #c02a9c; $custom-light: #d775b9; $custom-dark: #000000;
JSON
{
"hex": "#c02a9c",
"rgb": {
"r": 192,
"g": 42,
"b": 156
},
"hsl": {
"h": 314.4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.56307,
"c": 0.21523,
"h": 339.9
},
"luminance": 0.15263
}Semantic roles & 50–950 ramp
primary
#C02A9C
secondary
#7ACC8D
accent
#E76941
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80