#C02A5F#C02A5F
#C02A5F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.188 H 5.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C02A5F |
|---|---|
| RGB | rgb(192, 42, 95) |
| HSL | hsl(339, 64%, 46%) |
| HSV | hsv(339, 78%, 75%) |
| CMYK | cmyk(0%, 78.1%, 50.5%, 24.7%) |
| CIE-LAB | lab(43.79, 61.08, 6.74) |
| CIE-LCH | lch(43.79, 61.45, 6.30°) |
| OKLab | oklab(53.98% 0.1868 0.0177) |
| OKLCH | oklch(53.98% 0.188 5.4) |
| XYZ | xyz(24.6340, 13.6921, 12.1699) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.70
Dark Hot Pink
#D90166
ΔE00 4.25
Light Burgundy
#A8415B
ΔE00 5.06
Dark Pink
#CB416B
ΔE00 5.08
Cerise
#DE0C62
ΔE00 5.32
Dark Rose
#B5485D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02A5F #2AC08B
analogous
#C02AAA #C02A5F #C0402A
triadic
#C02A5F #5FC02A #2A5FC0
tetradic
#C02A5F #AAC02A #2AC08B #402AC0
square
#C02A5F #AAC02A #2AC08B #402AC0
split-complementary
#C02A5F #2AC040 #2AAAC0
monochromatic
#5C142D #8E1F46 #C02A5F #D84F7F #E381A4
Accessibility & contrast
On white
5.62
#C02A5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#C02A5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02A5F
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02A5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02A5F | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505560
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#D10041
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c02a5f; /* rgb */ color: rgb(192, 42, 95); /* oklch */ color: oklch(54.0% 0.188 5.4);
Tailwind
colors: {
custom: {
50: '#d9738c',
500: '#c02a5f',
950: '#000000',
},
}SCSS
$custom: #c02a5f; $custom-light: #d9738c; $custom-dark: #000000;
JSON
{
"hex": "#c02a5f",
"rgb": {
"r": 192,
"g": 42,
"b": 95
},
"hsl": {
"h": 338.8,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.53978,
"c": 0.1876,
"h": 5.4
},
"luminance": 0.13689
}Semantic roles & 50–950 ramp
primary
#C02A5F
secondary
#7ACCAF
accent
#E7AC41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D