#C02F5F#C02F5F
#C02F5F is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.183 H 6.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C02F5F |
|---|---|
| RGB | rgb(192, 47, 95) |
| HSL | hsl(340, 61%, 47%) |
| HSV | hsv(340, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 50.5%, 24.7%) |
| CIE-LAB | lab(44.33, 59.55, 7.51) |
| CIE-LCH | lch(44.33, 60.02, 7.19°) |
| OKLab | oklab(54.38% 0.1818 0.0196) |
| OKLCH | oklch(54.38% 0.183 6.2) |
| XYZ | xyz(24.8225, 14.0691, 12.2328) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.31
Dark Hot Pink
#D90166
ΔE00 4.34
Dark Pink
#CB416B
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 4.77
Dark Rose
#B5485D
ΔE00 4.99
Deep Rose
#C74767
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02F5F #2FC090
analogous
#C02FA8 #C02F5F #C0482F
triadic
#C02F5F #5FC02F #2F5FC0
tetradic
#C02F5F #A8C02F #2FC090 #482FC0
square
#C02F5F #A8C02F #2FC090 #482FC0
split-complementary
#C02F5F #2FC048 #2FA8C0
monochromatic
#5E172E #8F2347 #C02F5F #D65681 #E288A5
Accessibility & contrast
On white
5.51
#C02F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#C02F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02F5F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02F5F | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535660
Deuteranopia (green-blind)
#79735C
Tritanopia (blue-blind)
#D10743
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c02f5f; /* rgb */ color: rgb(192, 47, 95); /* oklch */ color: oklch(54.4% 0.183 6.2);
Tailwind
colors: {
custom: {
50: '#d9758c',
500: '#c02f5f',
950: '#000000',
},
}SCSS
$custom: #c02f5f; $custom-light: #d9758c; $custom-dark: #000000;
JSON
{
"hex": "#c02f5f",
"rgb": {
"r": 192,
"g": 47,
"b": 95
},
"hsl": {
"h": 340.138,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.54379,
"c": 0.18287,
"h": 6.2
},
"luminance": 0.14066
}Semantic roles & 50–950 ramp
primary
#C02F5F
secondary
#7FCBB2
accent
#E4AF44
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D