#C02F9D#C02F9D
#C02F9D is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.211 H 339.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F9D |
|---|---|
| RGB | rgb(192, 47, 157) |
| HSL | hsl(314, 61%, 47%) |
| HSV | hsv(314, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 18.2%, 24.7%) |
| CIE-LAB | lab(46.55, 66.39, -27.04) |
| CIE-LCH | lch(46.55, 71.69, 337.84°) |
| OKLab | oklab(56.72% 0.1979 -0.0731) |
| OKLCH | oklch(56.72% 0.211 339.7) |
| XYZ | xyz(28.8413, 15.6767, 33.3987) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.25
Purpley Pink
#C83CB9
ΔE00 5.44
Ugly Purple
#A442A0
ΔE00 5.49
Medium Purple
#9E43A2
ΔE00 6.84
Magenta (survey)
#C20078
ΔE00 7.66
Pinky Purple
#C94CBE
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F9D #2FC052
analogous
#9B2FC0 #C02F9D #C02F55
triadic
#C02F9D #9DC02F #2F9DC0
tetradic
#C02F9D #C09B2F #2FC052 #2F55C0
square
#C02F9D #C09B2F #2FC052 #2F55C0
split-complementary
#C02F9D #55C02F #2FC09B
monochromatic
#5E174D #8F2375 #C02F9D #D656B7 #E288CC
Accessibility & contrast
On white
5.08
#C02F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#C02F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F9D
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F9D | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3960A0
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#CB3463
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c02f9d; /* rgb */ color: rgb(192, 47, 157); /* oklch */ color: oklch(56.7% 0.211 339.7);
Tailwind
colors: {
custom: {
50: '#d777ba',
500: '#c02f9d',
950: '#000000',
},
}SCSS
$custom: #c02f9d; $custom-light: #d777ba; $custom-dark: #000000;
JSON
{
"hex": "#c02f9d",
"rgb": {
"r": 192,
"g": 47,
"b": 157
},
"hsl": {
"h": 314.483,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.56719,
"c": 0.21098,
"h": 339.7
},
"luminance": 0.15674
}Semantic roles & 50–950 ramp
primary
#C02F9D
secondary
#7FCB92
accent
#E46B44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80