#C02F7F#C02F7F
#C02F7F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.194 H 351.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F7F |
|---|---|
| RGB | rgb(192, 47, 127) |
| HSL | hsl(327, 61%, 47%) |
| HSV | hsv(327, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 33.9%, 24.7%) |
| CIE-LAB | lab(45.32, 62.67, -10.78) |
| CIE-LCH | lch(45.32, 63.59, 350.24°) |
| OKLab | oklab(55.43% 0.192 -0.0279) |
| OKLCH | oklch(55.43% 0.194 351.7) |
| XYZ | xyz(26.5871, 14.7750, 21.5263) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 2.53
Magenta (survey)
#C20078
ΔE00 3.35
Deep Pink
#CB0162
ΔE00 7.21
Dark Hot Pink
#D90166
ΔE00 8.16
Dark Pink
#CB416B
ΔE00 8.80
Light Plum
#9D5783
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F7F #2FC070
analogous
#B92FC0 #C02F7F #C02F36
triadic
#C02F7F #7FC02F #2F7FC0
tetradic
#C02F7F #C0B92F #2FC070 #2F36C0
square
#C02F7F #C0B92F #2FC070 #2F36C0
split-complementary
#C02F7F #36C02F #2FC0B9
monochromatic
#5E173E #8F235E #C02F7F #D6569D #E288B9
Accessibility & contrast
On white
5.31
#C02F7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#C02F7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F7F
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F7F | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#72757C
Tritanopia (blue-blind)
#CF2353
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c02f7f; /* rgb */ color: rgb(192, 47, 127); /* oklch */ color: oklch(55.4% 0.194 351.7);
Tailwind
colors: {
custom: {
50: '#d876a4',
500: '#c02f7f',
950: '#000000',
},
}SCSS
$custom: #c02f7f; $custom-light: #d876a4; $custom-dark: #000000;
JSON
{
"hex": "#c02f7f",
"rgb": {
"r": 192,
"g": 47,
"b": 127
},
"hsl": {
"h": 326.897,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.55432,
"c": 0.19404,
"h": 351.7
},
"luminance": 0.14772
}Semantic roles & 50–950 ramp
primary
#C02F7F
secondary
#7FCBA1
accent
#E48C44
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F