#C02A71#C02A71
#C02A71 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.193 H 357.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C02A71 |
|---|---|
| RGB | rgb(192, 42, 113) |
| HSL | hsl(332, 64%, 46%) |
| HSV | hsv(332, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 41.1%, 24.7%) |
| CIE-LAB | lab(44.32, 62.70, -3.68) |
| CIE-LCH | lch(44.32, 62.81, 356.65°) |
| OKLab | oklab(54.54% 0.1928 -0.0089) |
| OKLCH | oklch(54.54% 0.193 357.4) |
| XYZ | xyz(25.5487, 14.0580, 16.9877) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.75
Deep Pink
#CB0162
ΔE00 4.28
Mediumvioletred
#C71585
ΔE00 4.87
Dark Hot Pink
#D90166
ΔE00 5.78
Dark Pink
#CB416B
ΔE00 6.83
Cerise
#DE0C62
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02A71 #2AC079
analogous
#C02ABC #C02A71 #C02E2A
triadic
#C02A71 #71C02A #2A71C0
tetradic
#C02A71 #BCC02A #2AC079 #2E2AC0
square
#C02A71 #BCC02A #2AC079 #2E2AC0
split-complementary
#C02A71 #2AC02E #2ABCC0
monochromatic
#5C1436 #8E1F53 #C02A71 #D84F90 #E381B0
Accessibility & contrast
On white
5.51
#C02A71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#C02A71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02A71
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02A71 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#D00F4A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c02a71; /* rgb */ color: rgb(192, 42, 113); /* oklch */ color: oklch(54.5% 0.193 357.4);
Tailwind
colors: {
custom: {
50: '#d87399',
500: '#c02a71',
950: '#000000',
},
}SCSS
$custom: #c02a71; $custom-light: #d87399; $custom-dark: #000000;
JSON
{
"hex": "#c02a71",
"rgb": {
"r": 192,
"g": 42,
"b": 113
},
"hsl": {
"h": 331.6,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.54538,
"c": 0.19303,
"h": 357.4
},
"luminance": 0.14055
}Semantic roles & 50–950 ramp
primary
#C02A71
secondary
#7ACCA5
accent
#E79841
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E