#C02F71#C02F71
#C02F71 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.188 H 357.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F71 |
|---|---|
| RGB | rgb(192, 47, 113) |
| HSL | hsl(333, 61%, 47%) |
| HSV | hsv(333, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 41.1%, 24.7%) |
| CIE-LAB | lab(44.85, 61.19, -2.89) |
| CIE-LCH | lch(44.85, 61.26, 357.30°) |
| OKLab | oklab(54.93% 0.188 -0.0068) |
| OKLCH | oklch(54.93% 0.188 357.9) |
| XYZ | xyz(25.7373, 14.4350, 17.0505) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.32
Magenta (survey)
#C20078
ΔE00 4.43
Mediumvioletred
#C71585
ΔE00 5.31
Dark Hot Pink
#D90166
ΔE00 5.56
Dark Pink
#CB416B
ΔE00 6.19
Light Burgundy
#A8415B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F71 #2FC07E
analogous
#C02FB9 #C02F71 #C0362F
triadic
#C02F71 #71C02F #2F71C0
tetradic
#C02F71 #B9C02F #2FC07E #362FC0
square
#C02F71 #B9C02F #2FC07E #362FC0
split-complementary
#C02F71 #2FC036 #2FB9C0
monochromatic
#5E1737 #8F2354 #C02F71 #D65690 #E288B1
Accessibility & contrast
On white
5.40
#C02F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C02F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F71
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F71 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5973
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#D0194C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c02f71; /* rgb */ color: rgb(192, 47, 113); /* oklch */ color: oklch(54.9% 0.188 357.9);
Tailwind
colors: {
custom: {
50: '#d87599',
500: '#c02f71',
950: '#000000',
},
}SCSS
$custom: #c02f71; $custom-light: #d87599; $custom-dark: #000000;
JSON
{
"hex": "#c02f71",
"rgb": {
"r": 192,
"g": 47,
"b": 113
},
"hsl": {
"h": 332.69,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.5493,
"c": 0.18811,
"h": 357.9
},
"luminance": 0.14432
}Semantic roles & 50–950 ramp
primary
#C02F71
secondary
#7FCBA9
accent
#E49B44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E