#C02A6F#C02A6F
#C02A6F is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.192 H 358.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C02A6F |
|---|---|
| RGB | rgb(192, 42, 111) |
| HSL | hsl(332, 64%, 46%) |
| HSV | hsv(332, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 42.2%, 24.7%) |
| CIE-LAB | lab(44.25, 62.51, -2.53) |
| CIE-LCH | lch(44.25, 62.56, 357.68°) |
| OKLab | oklab(54.47% 0.1922 -0.0059) |
| OKLCH | oklch(54.47% 0.192 358.2) |
| XYZ | xyz(25.4374, 14.0134, 16.4012) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.87
Magenta (survey)
#C20078
ΔE00 4.12
Mediumvioletred
#C71585
ΔE00 5.34
Dark Hot Pink
#D90166
ΔE00 5.45
Dark Pink
#CB416B
ΔE00 6.51
Light Burgundy
#A8415B
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02A6F #2AC07B
analogous
#C02ABA #C02A6F #C0302A
triadic
#C02A6F #6FC02A #2A6FC0
tetradic
#C02A6F #BAC02A #2AC07B #302AC0
square
#C02A6F #BAC02A #2AC07B #302AC0
split-complementary
#C02A6F #2AC030 #2ABAC0
monochromatic
#5C1435 #8E1F52 #C02A6F #D84F8E #E381AE
Accessibility & contrast
On white
5.52
#C02A6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#C02A6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02A6F
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02A6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02A6F | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5771
Deuteranopia (green-blind)
#75736C
Tritanopia (blue-blind)
#D00C49
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c02a6f; /* rgb */ color: rgb(192, 42, 111); /* oklch */ color: oklch(54.5% 0.192 358.2);
Tailwind
colors: {
custom: {
50: '#d97398',
500: '#c02a6f',
950: '#000000',
},
}SCSS
$custom: #c02a6f; $custom-light: #d97398; $custom-dark: #000000;
JSON
{
"hex": "#c02a6f",
"rgb": {
"r": 192,
"g": 42,
"b": 111
},
"hsl": {
"h": 332.4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.5447,
"c": 0.19229,
"h": 358.2
},
"luminance": 0.1401
}Semantic roles & 50–950 ramp
primary
#C02A6F
secondary
#7ACCA6
accent
#E79B41
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E