#A12142#A12142
#A12142 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.163 H 11.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A12142 |
|---|---|
| RGB | rgb(161, 33, 66) |
| HSL | hsl(345, 66%, 38%) |
| HSV | hsv(345, 80%, 63%) |
| CMYK | cmyk(0%, 79.5%, 59%, 36.9%) |
| CIE-LAB | lab(36.10, 52.80, 13.52) |
| CIE-LCH | lch(36.10, 54.51, 14.36°) |
| OKLab | oklab(47% 0.1596 0.0336) |
| OKLCH | oklch(47% 0.163 11.9) |
| XYZ | xyz(16.2268, 9.0605, 6.0476) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.86
Rouge
#AB1239
ΔE00 3.42
Raspberry (survey)
#B00149
ΔE00 3.56
Purplish Red
#B0054B
ΔE00 3.81
Purple Red
#990147
ΔE00 5.71
Red Wine
#8C0034
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12142 #21A180
analogous
#A12182 #A12142 #A14021
triadic
#A12142 #42A121 #2142A1
tetradic
#A12142 #82A121 #21A180 #4021A1
square
#A12142 #82A121 #21A180 #4021A1
split-complementary
#A12142 #21A140 #2182A1
monochromatic
#3B0C18 #6E172D #A12142 #D42C57 #DE5E7F
Accessibility & contrast
On white
7.47
#A12142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#A12142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12142
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12142 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454442
Deuteranopia (green-blind)
#665E3F
Tritanopia (blue-blind)
#B0002F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a12142; /* rgb */ color: rgb(161, 33, 66); /* oklch */ color: oklch(47.0% 0.163 11.9);
Tailwind
colors: {
custom: {
50: '#c46a76',
500: '#a12142',
950: '#000000',
},
}SCSS
$custom: #a12142; $custom-light: #c46a76; $custom-dark: #000000;
JSON
{
"hex": "#a12142",
"rgb": {
"r": 161,
"g": 33,
"b": 66
},
"hsl": {
"h": 344.531,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.46998,
"c": 0.16306,
"h": 11.9
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#A12142
secondary
#5BC3A8
accent
#E9BD3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B