#C02F9F#C02F9F
#C02F9F is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.212 H 339.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F9F |
|---|---|
| RGB | rgb(192, 47, 159) |
| HSL | hsl(314, 61%, 47%) |
| HSV | hsv(314, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 17.2%, 24.7%) |
| CIE-LAB | lab(46.64, 66.66, -28.09) |
| CIE-LCH | lch(46.64, 72.34, 337.15°) |
| OKLab | oklab(56.82% 0.1982 -0.0761) |
| OKLCH | oklch(56.82% 0.212 339) |
| XYZ | xyz(29.0135, 15.7455, 34.3054) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.13
Ugly Purple
#A442A0
ΔE00 5.33
Mediumvioletred
#C71585
ΔE00 5.61
Medium Purple
#9E43A2
ΔE00 6.67
Pinky Purple
#C94CBE
ΔE00 7.49
Barney
#AC1DB8
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F9F #2FC050
analogous
#992FC0 #C02F9F #C02F57
triadic
#C02F9F #9FC02F #2F9FC0
tetradic
#C02F9F #C0992F #2FC050 #2F57C0
square
#C02F9F #C0992F #2FC050 #2F57C0
split-complementary
#C02F9F #57C02F #2FC099
monochromatic
#5E174E #8F2376 #C02F9F #D656B9 #E288CD
Accessibility & contrast
On white
5.06
#C02F9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#C02F9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F9F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F9F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#68779C
Tritanopia (blue-blind)
#CB3664
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c02f9f; /* rgb */ color: rgb(192, 47, 159); /* oklch */ color: oklch(56.8% 0.212 339.0);
Tailwind
colors: {
custom: {
50: '#d777bb',
500: '#c02f9f',
950: '#000000',
},
}SCSS
$custom: #c02f9f; $custom-light: #d777bb; $custom-dark: #000000;
JSON
{
"hex": "#c02f9f",
"rgb": {
"r": 192,
"g": 47,
"b": 159
},
"hsl": {
"h": 313.655,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.56815,
"c": 0.21227,
"h": 339
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#C02F9F
secondary
#7FCB91
accent
#E46844
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81