#C02F8E#C02F8E
#C02F8E is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.0% C 0.202 H 345.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F8E |
|---|---|
| RGB | rgb(192, 47, 142) |
| HSL | hsl(321, 61%, 47%) |
| HSV | hsv(321, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 26%, 24.7%) |
| CIE-LAB | lab(45.90, 64.44, -19.02) |
| CIE-LCH | lch(45.90, 67.19, 343.55°) |
| OKLab | oklab(56.04% 0.1955 -0.0505) |
| OKLCH | oklch(56.04% 0.202 345.5) |
| XYZ | xyz(27.6384, 15.1955, 27.0635) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.72
Magenta (survey)
#C20078
ΔE00 5.08
Ugly Purple
#A442A0
ΔE00 7.38
Purpley Pink
#C83CB9
ΔE00 8.05
Medium Purple
#9E43A2
ΔE00 8.75
Light Plum
#9D5783
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F8E #2FC061
analogous
#AA2FC0 #C02F8E #C02F45
triadic
#C02F8E #8EC02F #2F8EC0
tetradic
#C02F8E #C0AA2F #2FC061 #2F45C0
square
#C02F8E #C0AA2F #2FC061 #2F45C0
split-complementary
#C02F8E #45C02F #2FC0AA
monochromatic
#5E1745 #8F236A #C02F8E #D656AA #E288C3
Accessibility & contrast
On white
5.20
#C02F8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#C02F8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F8E
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F8E | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425D91
Deuteranopia (green-blind)
#6E768B
Tritanopia (blue-blind)
#CD2C5B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c02f8e; /* rgb */ color: rgb(192, 47, 142); /* oklch */ color: oklch(56.0% 0.202 345.5);
Tailwind
colors: {
custom: {
50: '#d776af',
500: '#c02f8e',
950: '#000000',
},
}SCSS
$custom: #c02f8e; $custom-light: #d776af; $custom-dark: #000000;
JSON
{
"hex": "#c02f8e",
"rgb": {
"r": 192,
"g": 47,
"b": 142
},
"hsl": {
"h": 320.69,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.5604,
"c": 0.2019,
"h": 345.5
},
"luminance": 0.15192
}Semantic roles & 50–950 ramp
primary
#C02F8E
secondary
#7FCB9A
accent
#E47B44
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F