#C02F74#C02F74
#C02F74 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.189 H 356.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F74 |
|---|---|
| RGB | rgb(192, 47, 116) |
| HSL | hsl(331, 61%, 47%) |
| HSV | hsv(331, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 39.6%, 24.7%) |
| CIE-LAB | lab(44.95, 61.49, -4.59) |
| CIE-LCH | lch(44.95, 61.66, 355.73°) |
| OKLab | oklab(55.03% 0.1889 -0.0113) |
| OKLCH | oklch(55.03% 0.189 356.6) |
| XYZ | xyz(25.9089, 14.5037, 17.9547) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.97
Mediumvioletred
#C71585
ΔE00 4.63
Deep Pink
#CB0162
ΔE00 4.91
Dark Hot Pink
#D90166
ΔE00 6.08
Dark Pink
#CB416B
ΔE00 6.72
Cerise
#DE0C62
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F74 #2FC07B
analogous
#C02FBD #C02F74 #C0332F
triadic
#C02F74 #74C02F #2F74C0
tetradic
#C02F74 #BDC02F #2FC07B #332FC0
square
#C02F74 #BDC02F #2FC07B #332FC0
split-complementary
#C02F74 #2FC033 #2FBDC0
monochromatic
#5E1739 #8F2356 #C02F74 #D65693 #E288B3
Accessibility & contrast
On white
5.38
#C02F74 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#C02F74 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F74
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F74 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5976
Deuteranopia (green-blind)
#757471
Tritanopia (blue-blind)
#D01B4E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c02f74; /* rgb */ color: rgb(192, 47, 116); /* oklch */ color: oklch(55.0% 0.189 356.6);
Tailwind
colors: {
custom: {
50: '#d8759b',
500: '#c02f74',
950: '#000000',
},
}SCSS
$custom: #c02f74; $custom-light: #d8759b; $custom-dark: #000000;
JSON
{
"hex": "#c02f74",
"rgb": {
"r": 192,
"g": 47,
"b": 116
},
"hsl": {
"h": 331.448,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.55032,
"c": 0.18926,
"h": 356.6
},
"luminance": 0.145
}Semantic roles & 50–950 ramp
primary
#C02F74
secondary
#7FCBA7
accent
#E49844
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E