#A12147#A12147
#A12147 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 9.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A12147 |
|---|---|
| RGB | rgb(161, 33, 71) |
| HSL | hsl(342, 66%, 38%) |
| HSV | hsv(342, 80%, 63%) |
| CMYK | cmyk(0%, 79.5%, 55.9%, 36.9%) |
| CIE-LAB | lab(36.22, 53.17, 10.46) |
| CIE-LCH | lch(36.22, 54.19, 11.13°) |
| OKLab | oklab(47.12% 0.1615 0.0265) |
| OKLCH | oklch(47.12% 0.164 9.3) |
| XYZ | xyz(16.3807, 9.1221, 6.8582) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.88
Purplish Red
#B0054B
ΔE00 2.94
Cranberry
#9E003A
ΔE00 3.36
Berry
#990F4B
ΔE00 4.49
Purple Red
#990147
ΔE00 4.51
Rouge
#AB1239
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12147 #21A17B
analogous
#A12187 #A12147 #A13B21
triadic
#A12147 #47A121 #2147A1
tetradic
#A12147 #87A121 #21A17B #3B21A1
square
#A12147 #87A121 #21A17B #3B21A1
split-complementary
#A12147 #21A13B #2187A1
monochromatic
#3B0C1A #6E1731 #A12147 #D42C5D #DE5E84
Accessibility & contrast
On white
7.44
#A12147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#A12147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12147
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12147 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#655E44
Tritanopia (blue-blind)
#B00032
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a12147; /* rgb */ color: rgb(161, 33, 71); /* oklch */ color: oklch(47.1% 0.164 9.3);
Tailwind
colors: {
custom: {
50: '#c36a79',
500: '#a12147',
950: '#000000',
},
}SCSS
$custom: #a12147; $custom-light: #c36a79; $custom-dark: #000000;
JSON
{
"hex": "#a12147",
"rgb": {
"r": 161,
"g": 33,
"b": 71
},
"hsl": {
"h": 342.188,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.47123,
"c": 0.1637,
"h": 9.3
},
"luminance": 0.0912
}Semantic roles & 50–950 ramp
primary
#A12147
secondary
#5BC3A4
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B