#A71B3F#A71B3F
#A71B3F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.173 H 13.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A71B3F |
|---|---|
| RGB | rgb(167, 27, 63) |
| HSL | hsl(345, 72%, 38%) |
| HSV | hsv(345, 84%, 65%) |
| CMYK | cmyk(0%, 83.8%, 62.3%, 34.5%) |
| CIE-LAB | lab(36.67, 55.94, 16.43) |
| CIE-LCH | lch(36.67, 58.30, 16.37°) |
| OKLab | oklab(47.61% 0.1683 0.0401) |
| OKLCH | oklch(47.61% 0.173 13.4) |
| XYZ | xyz(17.2273, 9.3609, 5.6014) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 1.91
Cranberry
#9E003A
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.72
Purplish Red
#B0054B
ΔE00 4.09
Rose Red
#BE013C
ΔE00 4.61
Ruby
#CA0147
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71B3F #1BA783
analogous
#A71B85 #A71B3F #A73D1B
triadic
#A71B3F #3FA71B #1B3FA7
tetradic
#A71B3F #85A71B #1BA783 #3D1BA7
square
#A71B3F #85A71B #1BA783 #3D1BA7
split-complementary
#A71B3F #1BA73D #1B85A7
monochromatic
#3E0A17 #72122B #A71B3F #DC2453 #E4587C
Accessibility & contrast
On white
7.31
#A71B3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A71B3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71B3F
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71B3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71B3F | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45443F
Deuteranopia (green-blind)
#69603B
Tritanopia (blue-blind)
#B7002B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71b3f; /* rgb */ color: rgb(167, 27, 63); /* oklch */ color: oklch(47.6% 0.173 13.4);
Tailwind
colors: {
custom: {
50: '#c96873',
500: '#a71b3f',
950: '#000000',
},
}SCSS
$custom: #a71b3f; $custom-light: #c96873; $custom-dark: #000000;
JSON
{
"hex": "#a71b3f",
"rgb": {
"r": 167,
"g": 27,
"b": 63
},
"hsl": {
"h": 344.571,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.47612,
"c": 0.17304,
"h": 13.4
},
"luminance": 0.09358
}Semantic roles & 50–950 ramp
primary
#A71B3F
secondary
#56C8AA
accent
#EFC039
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B