#C02F91#C02F91
#C02F91 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.204 H 344.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F91 |
|---|---|
| RGB | rgb(192, 47, 145) |
| HSL | hsl(319, 61%, 47%) |
| HSV | hsv(319, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 24.5%, 24.7%) |
| CIE-LAB | lab(46.02, 64.82, -20.65) |
| CIE-LCH | lch(46.02, 68.03, 342.33°) |
| OKLab | oklab(56.17% 0.196 -0.0551) |
| OKLCH | oklch(56.17% 0.204 344.3) |
| XYZ | xyz(27.8667, 15.2868, 28.2657) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.17
Magenta (survey)
#C20078
ΔE00 5.58
Ugly Purple
#A442A0
ΔE00 6.92
Purpley Pink
#C83CB9
ΔE00 7.49
Medium Purple
#9E43A2
ΔE00 8.30
Purpleish
#98568D
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F91 #2FC05E
analogous
#A62FC0 #C02F91 #C02F49
triadic
#C02F91 #91C02F #2F91C0
tetradic
#C02F91 #C0A62F #2FC05E #2F49C0
square
#C02F91 #C0A62F #2FC05E #2F49C0
split-complementary
#C02F91 #49C02F #2FC0A6
monochromatic
#5E1747 #8F236C #C02F91 #D656AC #E288C5
Accessibility & contrast
On white
5.18
#C02F91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#C02F91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F91
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F91 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#CD2E5C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c02f91; /* rgb */ color: rgb(192, 47, 145); /* oklch */ color: oklch(56.2% 0.204 344.3);
Tailwind
colors: {
custom: {
50: '#d776b1',
500: '#c02f91',
950: '#000000',
},
}SCSS
$custom: #c02f91; $custom-light: #d776b1; $custom-dark: #000000;
JSON
{
"hex": "#c02f91",
"rgb": {
"r": 192,
"g": 47,
"b": 145
},
"hsl": {
"h": 319.448,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.5617,
"c": 0.20363,
"h": 344.3
},
"luminance": 0.15284
}Semantic roles & 50–950 ramp
primary
#C02F91
secondary
#7FCB98
accent
#E47844
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150A10
muted
#837C7F