#C12A52#C12A52
#C12A52 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.186 H 11.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A52 |
|---|---|
| RGB | rgb(193, 42, 82) |
| HSL | hsl(344, 64%, 46%) |
| HSV | hsv(344, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 57.5%, 24.3%) |
| CIE-LAB | lab(43.66, 60.37, 14.71) |
| CIE-LCH | lch(43.66, 62.14, 13.69°) |
| OKLab | oklab(53.82% 0.1827 0.0367) |
| OKLCH | oklch(53.82% 0.186 11.4) |
| XYZ | xyz(24.3457, 13.6061, 9.3253) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.12
Lipstick
#D5174E
ΔE00 3.91
Dark Rose
#B5485D
ΔE00 4.83
Rose Red
#BE013C
ΔE00 5.17
Light Burgundy
#A8415B
ΔE00 5.61
Deep Pink
#CB0162
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A52 #2AC199
analogous
#C12A9D #C12A52 #C14D2A
triadic
#C12A52 #52C12A #2A52C1
tetradic
#C12A52 #9DC12A #2AC199 #4D2AC1
square
#C12A52 #9DC12A #2AC199 #4D2AC1
split-complementary
#C12A52 #2AC14D #2A9DC1
monochromatic
#5C1427 #8F1F3D #C12A52 #D94F74 #E4829C
Accessibility & contrast
On white
5.64
#C12A52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#C12A52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A52
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A52 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545453
Deuteranopia (green-blind)
#7B724E
Tritanopia (blue-blind)
#D3003B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #c12a52; /* rgb */ color: rgb(193, 42, 82); /* oklch */ color: oklch(53.8% 0.186 11.4);
Tailwind
colors: {
custom: {
50: '#db7282',
500: '#c12a52',
950: '#000000',
},
}SCSS
$custom: #c12a52; $custom-light: #db7282; $custom-dark: #000000;
JSON
{
"hex": "#c12a52",
"rgb": {
"r": 193,
"g": 42,
"b": 82
},
"hsl": {
"h": 344.106,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.53817,
"c": 0.1863,
"h": 11.4
},
"luminance": 0.13603
}Semantic roles & 50–950 ramp
primary
#C12A52
secondary
#7ACDB7
accent
#E7BB41
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C