#A71B4F#A71B4F
#A71B4F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.175 H 5.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A71B4F |
|---|---|
| RGB | rgb(167, 27, 79) |
| HSL | hsl(338, 72%, 38%) |
| HSV | hsv(338, 84%, 65%) |
| CMYK | cmyk(0%, 83.8%, 52.7%, 34.5%) |
| CIE-LAB | lab(37.05, 57.07, 6.64) |
| CIE-LCH | lch(37.05, 57.46, 6.64°) |
| OKLab | oklab(48.02% 0.1746 0.0173) |
| OKLCH | oklch(48.02% 0.175 5.7) |
| XYZ | xyz(17.7412, 9.5664, 8.3079) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.14
Raspberry (survey)
#B00149
ΔE00 2.50
Berry
#990F4B
ΔE00 3.57
Violet Red
#A50055
ΔE00 3.62
Purple Red
#990147
ΔE00 3.94
Cranberry
#9E003A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71B4F #1BA773
analogous
#A71B95 #A71B4F #A72D1B
triadic
#A71B4F #4FA71B #1B4FA7
tetradic
#A71B4F #95A71B #1BA773 #2D1BA7
square
#A71B4F #95A71B #1BA773 #2D1BA7
split-complementary
#A71B4F #1BA72D #1B95A7
monochromatic
#3E0A1D #721236 #A71B4F #DC2468 #E4588C
Accessibility & contrast
On white
7.21
#A71B4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A71B4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71B4F
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71B4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71B4F | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#B60033
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a71b4f; /* rgb */ color: rgb(167, 27, 79); /* oklch */ color: oklch(48.0% 0.175 5.7);
Tailwind
colors: {
custom: {
50: '#c86980',
500: '#a71b4f',
950: '#000000',
},
}SCSS
$custom: #a71b4f; $custom-light: #c86980; $custom-dark: #000000;
JSON
{
"hex": "#a71b4f",
"rgb": {
"r": 167,
"g": 27,
"b": 79
},
"hsl": {
"h": 337.714,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.48017,
"c": 0.17541,
"h": 5.7
},
"luminance": 0.09564
}Semantic roles & 50–950 ramp
primary
#A71B4F
secondary
#56C89D
accent
#EFAB39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C