#C02A9B#C02A9B
#C02A9B is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.3% C 0.215 H 340.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C02A9B |
|---|---|
| RGB | rgb(192, 42, 155) |
| HSL | hsl(315, 64%, 46%) |
| HSV | hsv(315, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 19.3%, 24.7%) |
| CIE-LAB | lab(45.95, 67.57, -26.77) |
| CIE-LCH | lch(45.95, 72.68, 338.38°) |
| OKLab | oklab(56.26% 0.2021 -0.0723) |
| OKLCH | oklch(56.26% 0.215 340.3) |
| XYZ | xyz(28.4835, 15.2319, 32.4440) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.84
Ugly Purple
#A442A0
ΔE00 5.67
Purpley Pink
#C83CB9
ΔE00 6.01
Medium Purple
#9E43A2
ΔE00 7.00
Magenta (survey)
#C20078
ΔE00 7.17
Barney
#AC1DB8
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02A9B #2AC04F
analogous
#9A2AC0 #C02A9B #C02A50
triadic
#C02A9B #9BC02A #2A9BC0
tetradic
#C02A9B #C09A2A #2AC04F #2A50C0
square
#C02A9B #C09A2A #2AC04F #2A50C0
split-complementary
#C02A9B #50C02A #2AC09A
monochromatic
#5C144A #8E1F72 #C02A9B #D84FB6 #E381CB
Accessibility & contrast
On white
5.19
#C02A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#C02A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02A9B
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02A9B | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365E9E
Deuteranopia (green-blind)
#687598
Tritanopia (blue-blind)
#CC2F60
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c02a9b; /* rgb */ color: rgb(192, 42, 155); /* oklch */ color: oklch(56.3% 0.215 340.3);
Tailwind
colors: {
custom: {
50: '#d775b8',
500: '#c02a9b',
950: '#000000',
},
}SCSS
$custom: #c02a9b; $custom-light: #d775b8; $custom-dark: #000000;
JSON
{
"hex": "#c02a9b",
"rgb": {
"r": 192,
"g": 42,
"b": 155
},
"hsl": {
"h": 314.8,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.56259,
"c": 0.2146,
"h": 340.3
},
"luminance": 0.15229
}Semantic roles & 50–950 ramp
primary
#C02A9B
secondary
#7ACC8E
accent
#E76A41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80