#A71F48#A71F48
#A71F48 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.171 H 9.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F48 |
|---|---|
| RGB | rgb(167, 31, 72) |
| HSL | hsl(342, 69%, 39%) |
| HSV | hsv(342, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 56.9%, 34.5%) |
| CIE-LAB | lab(37.24, 55.51, 11.40) |
| CIE-LCH | lch(37.24, 56.67, 11.61°) |
| OKLab | oklab(48.09% 0.1685 0.0288) |
| OKLCH | oklch(48.09% 0.171 9.7) |
| XYZ | xyz(17.5978, 9.6659, 7.0687) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.11
Purplish Red
#B0054B
ΔE00 2.21
Cranberry
#9E003A
ΔE00 3.76
Rouge
#AB1239
ΔE00 4.41
Berry
#990F4B
ΔE00 5.22
Purple Red
#990147
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F48 #1FA77E
analogous
#A71F8C #A71F48 #A73A1F
triadic
#A71F48 #48A71F #1F48A7
tetradic
#A71F48 #8CA71F #1FA77E #3A1FA7
square
#A71F48 #8CA71F #1FA77E #3A1FA7
split-complementary
#A71F48 #1FA73A #1F8CA7
monochromatic
#400C1B #731532 #A71F48 #D82B5F #E15F86
Accessibility & contrast
On white
7.16
#A71F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#A71F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F48
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F48 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454649
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#B70031
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a71f48; /* rgb */ color: rgb(167, 31, 72); /* oklch */ color: oklch(48.1% 0.171 9.7);
Tailwind
colors: {
custom: {
50: '#c86a7a',
500: '#a71f48',
950: '#000000',
},
}SCSS
$custom: #a71f48; $custom-light: #c86a7a; $custom-dark: #000000;
JSON
{
"hex": "#a71f48",
"rgb": {
"r": 167,
"g": 31,
"b": 72
},
"hsl": {
"h": 341.912,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48094,
"c": 0.17097,
"h": 9.7
},
"luminance": 0.09663
}Semantic roles & 50–950 ramp
primary
#A71F48
secondary
#5CC6A6
accent
#ECB73C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B