#C12A57#C12A57
#C12A57 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.187 H 9.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A57 |
|---|---|
| RGB | rgb(193, 42, 87) |
| HSL | hsl(342, 64%, 46%) |
| HSV | hsv(342, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 54.9%, 24.3%) |
| CIE-LAB | lab(43.78, 60.73, 11.75) |
| CIE-LCH | lch(43.78, 61.86, 10.95°) |
| OKLab | oklab(53.94% 0.1846 0.0298) |
| OKLCH | oklch(53.94% 0.187 9.2) |
| XYZ | xyz(24.5429, 13.6850, 10.3641) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 4.24
Deep Pink
#CB0162
ΔE00 4.34
Lipstick
#D5174E
ΔE00 4.80
Dark Rose
#B5485D
ΔE00 4.84
Dark Hot Pink
#D90166
ΔE00 5.09
Light Burgundy
#A8415B
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A57 #2AC194
analogous
#C12AA2 #C12A57 #C1482A
triadic
#C12A57 #57C12A #2A57C1
tetradic
#C12A57 #A2C12A #2AC194 #482AC1
square
#C12A57 #A2C12A #2AC194 #482AC1
split-complementary
#C12A57 #2AC148 #2AA2C1
monochromatic
#5C142A #8F1F40 #C12A57 #D94F78 #E4829F
Accessibility & contrast
On white
5.62
#C12A57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#C12A57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A57
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A57 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535458
Deuteranopia (green-blind)
#7A7253
Tritanopia (blue-blind)
#D3003E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12a57; /* rgb */ color: rgb(193, 42, 87); /* oklch */ color: oklch(53.9% 0.187 9.2);
Tailwind
colors: {
custom: {
50: '#db7286',
500: '#c12a57',
950: '#000000',
},
}SCSS
$custom: #c12a57; $custom-light: #db7286; $custom-dark: #000000;
JSON
{
"hex": "#c12a57",
"rgb": {
"r": 193,
"g": 42,
"b": 87
},
"hsl": {
"h": 342.119,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.5394,
"c": 0.18695,
"h": 9.2
},
"luminance": 0.13682
}Semantic roles & 50–950 ramp
primary
#C12A57
secondary
#7ACDB4
accent
#E7B641
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C