#A72157#A72157
#A72157 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.173 H 2.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A72157 |
|---|---|
| RGB | rgb(167, 33, 87) |
| HSL | hsl(336, 67%, 39%) |
| HSV | hsv(336, 80%, 65%) |
| CMYK | cmyk(0%, 80.2%, 47.9%, 34.5%) |
| CIE-LAB | lab(37.83, 56.17, 2.62) |
| CIE-LCH | lch(37.83, 56.23, 2.67°) |
| OKLab | oklab(48.66% 0.1724 0.0073) |
| OKLCH | oklch(48.66% 0.173 2.4) |
| XYZ | xyz(18.2021, 9.9938, 9.9855) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.80
Purplish Red
#B0054B
ΔE00 3.83
Berry
#990F4B
ΔE00 3.86
Raspberry (survey)
#B00149
ΔE00 4.28
Dark Fuchsia
#9D0759
ΔE00 4.58
Purple Red
#990147
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A72157 #21A771
analogous
#A7219A #A72157 #A72E21
triadic
#A72157 #57A721 #2157A7
tetradic
#A72157 #9AA721 #21A771 #2E21A7
square
#A72157 #9AA721 #21A771 #2E21A7
split-complementary
#A72157 #21A72E #219AA7
monochromatic
#410D22 #74173C #A72157 #D62F72 #E06295
Accessibility & contrast
On white
7.00
#A72157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#A72157 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A72157
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A72157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A72157 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434858
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#B60039
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a72157; /* rgb */ color: rgb(167, 33, 87); /* oklch */ color: oklch(48.7% 0.173 2.4);
Tailwind
colors: {
custom: {
50: '#c76b86',
500: '#a72157',
950: '#000000',
},
}SCSS
$custom: #a72157; $custom-light: #c76b86; $custom-dark: #000000;
JSON
{
"hex": "#a72157",
"rgb": {
"r": 167,
"g": 33,
"b": 87
},
"hsl": {
"h": 335.821,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.48662,
"c": 0.17252,
"h": 2.4
},
"luminance": 0.09991
}Semantic roles & 50–950 ramp
primary
#A72157
secondary
#5FC59C
accent
#EAA53E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C