#C02A6B#C02A6B
#C02A6B is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.191 H 0.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C02A6B |
|---|---|
| RGB | rgb(192, 42, 107) |
| HSL | hsl(334, 64%, 46%) |
| HSV | hsv(334, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 44.3%, 24.7%) |
| CIE-LAB | lab(44.13, 62.13, -0.23) |
| CIE-LCH | lch(44.13, 62.13, 359.78°) |
| OKLab | oklab(54.34% 0.1909 0.0001) |
| OKLCH | oklch(54.34% 0.191 0) |
| XYZ | xyz(25.2220, 13.9273, 15.2672) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.13
Dark Hot Pink
#D90166
ΔE00 4.86
Magenta (survey)
#C20078
ΔE00 4.95
Dark Pink
#CB416B
ΔE00 5.93
Mediumvioletred
#C71585
ΔE00 6.33
Light Burgundy
#A8415B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02A6B #2AC07F
analogous
#C02AB6 #C02A6B #C0342A
triadic
#C02A6B #6BC02A #2A6BC0
tetradic
#C02A6B #B6C02A #2AC07F #342AC0
square
#C02A6B #B6C02A #2AC07F #342AC0
split-complementary
#C02A6B #2AC034 #2AB6C0
monochromatic
#5C1433 #8E1F4F #C02A6B #D84F8A #E381AC
Accessibility & contrast
On white
5.55
#C02A6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#C02A6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02A6B
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02A6B | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#D00647
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c02a6b; /* rgb */ color: rgb(192, 42, 107); /* oklch */ color: oklch(54.3% 0.191 0.0);
Tailwind
colors: {
custom: {
50: '#d97395',
500: '#c02a6b',
950: '#000000',
},
}SCSS
$custom: #c02a6b; $custom-light: #d97395; $custom-dark: #000000;
JSON
{
"hex": "#c02a6b",
"rgb": {
"r": 192,
"g": 42,
"b": 107
},
"hsl": {
"h": 334,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.54339,
"c": 0.19092,
"h": 0
},
"luminance": 0.13924
}Semantic roles & 50–950 ramp
primary
#C02A6B
secondary
#7ACCA8
accent
#E79F41
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E