#A12151#A12151
#A12151 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 4.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A12151 |
|---|---|
| RGB | rgb(161, 33, 81) |
| HSL | hsl(338, 66%, 38%) |
| HSV | hsv(338, 80%, 63%) |
| CMYK | cmyk(0%, 79.5%, 49.7%, 36.9%) |
| CIE-LAB | lab(36.48, 53.99, 4.38) |
| CIE-LCH | lch(36.48, 54.17, 4.64°) |
| OKLab | oklab(47.4% 0.1654 0.0117) |
| OKLCH | oklch(47.4% 0.166 4.1) |
| XYZ | xyz(16.7285, 9.2612, 8.6897) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.80
Violet Red
#A50055
ΔE00 3.08
Purple Red
#990147
ΔE00 3.49
Purplish Red
#B0054B
ΔE00 3.55
Raspberry (survey)
#B00149
ΔE00 3.90
Dark Fuchsia
#9D0759
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12151 #21A171
analogous
#A12191 #A12151 #A13121
triadic
#A12151 #51A121 #2151A1
tetradic
#A12151 #91A121 #21A171 #3121A1
square
#A12151 #91A121 #21A171 #3121A1
split-complementary
#A12151 #21A131 #2191A1
monochromatic
#3B0C1E #6E1737 #A12151 #D42C6B #DE5E8E
Accessibility & contrast
On white
7.36
#A12151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#A12151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12151
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12151 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414652
Deuteranopia (green-blind)
#635F4E
Tritanopia (blue-blind)
#B00036
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a12151; /* rgb */ color: rgb(161, 33, 81); /* oklch */ color: oklch(47.4% 0.166 4.1);
Tailwind
colors: {
custom: {
50: '#c36a81',
500: '#a12151',
950: '#000000',
},
}SCSS
$custom: #a12151; $custom-light: #c36a81; $custom-dark: #000000;
JSON
{
"hex": "#a12151",
"rgb": {
"r": 161,
"g": 33,
"b": 81
},
"hsl": {
"h": 337.5,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.47403,
"c": 0.16577,
"h": 4.1
},
"luminance": 0.09259
}Semantic roles & 50–950 ramp
primary
#A12151
secondary
#5BC39C
accent
#E9A93F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C