#C02F8C#C02F8C
#C02F8C is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.201 H 346.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F8C |
|---|---|
| RGB | rgb(192, 47, 140) |
| HSL | hsl(322, 61%, 47%) |
| HSV | hsv(322, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 27.1%, 24.7%) |
| CIE-LAB | lab(45.82, 64.19, -17.94) |
| CIE-LCH | lch(45.82, 66.65, 344.39°) |
| OKLab | oklab(55.96% 0.1951 -0.0475) |
| OKLCH | oklch(55.96% 0.201 346.3) |
| XYZ | xyz(27.4896, 15.1360, 26.2797) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.45
Magenta (survey)
#C20078
ΔE00 4.76
Ugly Purple
#A442A0
ΔE00 7.70
Purpley Pink
#C83CB9
ΔE00 8.43
Light Plum
#9D5783
ΔE00 9.06
Medium Purple
#9E43A2
ΔE00 9.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F8C #2FC063
analogous
#AB2FC0 #C02F8C #C02F44
triadic
#C02F8C #8CC02F #2F8CC0
tetradic
#C02F8C #C0AB2F #2FC063 #2F44C0
square
#C02F8C #C0AB2F #2FC063 #2F44C0
split-complementary
#C02F8C #44C02F #2FC0AB
monochromatic
#5E1744 #8F2368 #C02F8C #D656A8 #E288C1
Accessibility & contrast
On white
5.22
#C02F8C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#C02F8C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F8C
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F8C | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435D8E
Deuteranopia (green-blind)
#6F7589
Tritanopia (blue-blind)
#CD2B5A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c02f8c; /* rgb */ color: rgb(192, 47, 140); /* oklch */ color: oklch(56.0% 0.201 346.3);
Tailwind
colors: {
custom: {
50: '#d776ad',
500: '#c02f8c',
950: '#000000',
},
}SCSS
$custom: #c02f8c; $custom-light: #d776ad; $custom-dark: #000000;
JSON
{
"hex": "#c02f8c",
"rgb": {
"r": 192,
"g": 47,
"b": 140
},
"hsl": {
"h": 321.517,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.55955,
"c": 0.20077,
"h": 346.3
},
"luminance": 0.15133
}Semantic roles & 50–950 ramp
primary
#C02F8C
secondary
#7FCB9B
accent
#E47D44
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F