#C02F8A#C02F8A
#C02F8A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.9% C 0.200 H 347.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F8A |
|---|---|
| RGB | rgb(192, 47, 138) |
| HSL | hsl(322, 61%, 47%) |
| HSV | hsv(322, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 28.1%, 24.7%) |
| CIE-LAB | lab(45.74, 63.95, -16.85) |
| CIE-LCH | lch(45.74, 66.13, 345.24°) |
| OKLab | oklab(55.87% 0.1947 -0.0445) |
| OKLCH | oklch(55.87% 0.2 347.1) |
| XYZ | xyz(27.3435, 15.0775, 25.5101) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.24
Magenta (survey)
#C20078
ΔE00 4.46
Ugly Purple
#A442A0
ΔE00 8.04
Purpley Pink
#C83CB9
ΔE00 8.81
Light Plum
#9D5783
ΔE00 9.00
Medium Purple
#9E43A2
ΔE00 9.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F8A #2FC065
analogous
#AE2FC0 #C02F8A #C02F42
triadic
#C02F8A #8AC02F #2F8AC0
tetradic
#C02F8A #C0AE2F #2FC065 #2F42C0
square
#C02F8A #C0AE2F #2FC065 #2F42C0
split-complementary
#C02F8A #42C02F #2FC0AE
monochromatic
#5E1743 #8F2367 #C02F8A #D656A6 #E288C0
Accessibility & contrast
On white
5.23
#C02F8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#C02F8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F8A
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F8A | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#CE2959
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c02f8a; /* rgb */ color: rgb(192, 47, 138); /* oklch */ color: oklch(55.9% 0.200 347.1);
Tailwind
colors: {
custom: {
50: '#d876ac',
500: '#c02f8a',
950: '#000000',
},
}SCSS
$custom: #c02f8a; $custom-light: #d876ac; $custom-dark: #000000;
JSON
{
"hex": "#c02f8a",
"rgb": {
"r": 192,
"g": 47,
"b": 138
},
"hsl": {
"h": 322.345,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.55871,
"c": 0.19967,
"h": 347.1
},
"luminance": 0.15074
}Semantic roles & 50–950 ramp
primary
#C02F8A
secondary
#7FCB9C
accent
#E48044
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F