#C12058#C12058
#C12058 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 7.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C12058 |
|---|---|
| RGB | rgb(193, 32, 88) |
| HSL | hsl(339, 72%, 44%) |
| HSV | hsv(339, 83%, 76%) |
| CMYK | cmyk(0%, 83.4%, 54.4%, 24.3%) |
| CIE-LAB | lab(42.88, 63.42, 9.87) |
| CIE-LCH | lch(42.88, 64.19, 8.85°) |
| OKLab | oklab(53.29% 0.1934 0.0253) |
| OKLCH | oklch(53.29% 0.195 7.4) |
| XYZ | xyz(24.2726, 13.0786, 10.4770) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.16
Purplish Red
#B0054B
ΔE00 4.69
Dark Hot Pink
#D90166
ΔE00 4.72
Ruby
#CA0147
ΔE00 4.85
Raspberry (survey)
#B00149
ΔE00 4.91
Cerise
#DE0C62
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12058 #20C189
analogous
#C120A9 #C12058 #C13820
triadic
#C12058 #58C120 #2058C1
tetradic
#C12058 #A9C120 #20C189 #3820C1
square
#C12058 #A9C120 #20C189 #3820C1
split-complementary
#C12058 #20C138 #20A9C1
monochromatic
#580F28 #8D1740 #C12058 #DF3F77 #E8749C
Accessibility & contrast
On white
5.81
#C12058 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#C12058 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12058
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12058 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12058 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#777154
Tritanopia (blue-blind)
#D3003A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #c12058; /* rgb */ color: rgb(193, 32, 88); /* oklch */ color: oklch(53.3% 0.195 7.4);
Tailwind
colors: {
custom: {
50: '#db6f86',
500: '#c12058',
950: '#000000',
},
}SCSS
$custom: #c12058; $custom-light: #db6f86; $custom-dark: #000000;
JSON
{
"hex": "#c12058",
"rgb": {
"r": 193,
"g": 32,
"b": 88
},
"hsl": {
"h": 339.13,
"s": 71.556,
"l": 44.118
},
"oklch": {
"l": 0.53288,
"c": 0.19505,
"h": 7.4
},
"luminance": 0.13075
}Semantic roles & 50–950 ramp
primary
#C12058
secondary
#6ECFAD
accent
#EEAF3A
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C