#A12046#A12046
#A12046 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.164 H 9.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A12046 |
|---|---|
| RGB | rgb(161, 32, 70) |
| HSL | hsl(342, 67%, 38%) |
| HSV | hsv(342, 80%, 63%) |
| CMYK | cmyk(0%, 80.1%, 56.5%, 36.9%) |
| CIE-LAB | lab(36.09, 53.39, 10.92) |
| CIE-LCH | lch(36.09, 54.50, 11.56°) |
| OKLab | oklab(47.02% 0.1621 0.0276) |
| OKLCH | oklch(47.02% 0.164 9.7) |
| XYZ | xyz(16.3215, 9.0547, 6.6815) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.89
Purplish Red
#B0054B
ΔE00 2.99
Cranberry
#9E003A
ΔE00 3.14
Purple Red
#990147
ΔE00 4.58
Berry
#990F4B
ΔE00 4.61
Rouge
#AB1239
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12046 #20A17B
analogous
#A12086 #A12046 #A13B20
triadic
#A12046 #46A120 #2046A1
tetradic
#A12046 #86A120 #20A17B #3B20A1
square
#A12046 #86A120 #20A17B #3B20A1
split-complementary
#A12046 #20A13B #2086A1
monochromatic
#3B0C1A #6E1630 #A12046 #D42A5C #DF5D83
Accessibility & contrast
On white
7.47
#A12046 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#A12046 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12046
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12046 | 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)
#434447
Deuteranopia (green-blind)
#655E43
Tritanopia (blue-blind)
#B00031
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a12046; /* rgb */ color: rgb(161, 32, 70); /* oklch */ color: oklch(47.0% 0.164 9.7);
Tailwind
colors: {
custom: {
50: '#c36979',
500: '#a12046',
950: '#000000',
},
}SCSS
$custom: #a12046; $custom-light: #c36979; $custom-dark: #000000;
JSON
{
"hex": "#a12046",
"rgb": {
"r": 161,
"g": 32,
"b": 70
},
"hsl": {
"h": 342.326,
"s": 66.839,
"l": 37.843
},
"oklch": {
"l": 0.4702,
"c": 0.16444,
"h": 9.7
},
"luminance": 0.09052
}Semantic roles & 50–950 ramp
primary
#A12046
secondary
#5AC3A4
accent
#EAB73E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B