#C12A5A#C12A5A
#C12A5A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.187 H 7.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A5A |
|---|---|
| RGB | rgb(193, 42, 90) |
| HSL | hsl(341, 64%, 46%) |
| HSV | hsv(341, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 53.4%, 24.3%) |
| CIE-LAB | lab(43.85, 60.96, 9.98) |
| CIE-LCH | lch(43.85, 61.77, 9.30°) |
| OKLab | oklab(54.02% 0.1857 0.0256) |
| OKLCH | oklch(54.02% 0.187 7.8) |
| XYZ | xyz(24.6681, 13.7351, 11.0231) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.63
Dark Hot Pink
#D90166
ΔE00 4.61
Ruby
#CA0147
ΔE00 4.98
Light Burgundy
#A8415B
ΔE00 5.02
Dark Rose
#B5485D
ΔE00 5.04
Cerise
#DE0C62
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A5A #2AC191
analogous
#C12AA5 #C12A5A #C1452A
triadic
#C12A5A #5AC12A #2A5AC1
tetradic
#C12A5A #A5C12A #2AC191 #452AC1
square
#C12A5A #A5C12A #2AC191 #452AC1
split-complementary
#C12A5A #2AC145 #2AA5C1
monochromatic
#5C142B #8F1F43 #C12A5A #D94F7B #E482A1
Accessibility & contrast
On white
5.61
#C12A5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#C12A5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A5A
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A5A | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#797256
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c12a5a; /* rgb */ color: rgb(193, 42, 90); /* oklch */ color: oklch(54.0% 0.187 7.8);
Tailwind
colors: {
custom: {
50: '#da7388',
500: '#c12a5a',
950: '#000000',
},
}SCSS
$custom: #c12a5a; $custom-light: #da7388; $custom-dark: #000000;
JSON
{
"hex": "#c12a5a",
"rgb": {
"r": 193,
"g": 42,
"b": 90
},
"hsl": {
"h": 340.927,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.54017,
"c": 0.18745,
"h": 7.8
},
"luminance": 0.13732
}Semantic roles & 50–950 ramp
primary
#C12A5A
secondary
#7ACDB2
accent
#E7B241
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C