#A71B45#A71B45
#A71B45 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.174 H 10.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A71B45 |
|---|---|
| RGB | rgb(167, 27, 69) |
| HSL | hsl(342, 72%, 38%) |
| HSV | hsv(342, 84%, 65%) |
| CMYK | cmyk(0%, 83.8%, 58.7%, 34.5%) |
| CIE-LAB | lab(36.80, 56.33, 12.74) |
| CIE-LCH | lch(36.80, 57.75, 12.74°) |
| OKLab | oklab(47.75% 0.1707 0.0318) |
| OKLCH | oklch(47.75% 0.174 10.6) |
| XYZ | xyz(17.4042, 9.4316, 6.5331) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.21
Purplish Red
#B0054B
ΔE00 2.46
Cranberry
#9E003A
ΔE00 3.18
Rouge
#AB1239
ΔE00 3.75
Purple Red
#990147
ΔE00 5.39
Berry
#990F4B
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71B45 #1BA77D
analogous
#A71B8B #A71B45 #A7371B
triadic
#A71B45 #45A71B #1B45A7
tetradic
#A71B45 #8BA71B #1BA77D #371BA7
square
#A71B45 #8BA71B #1BA77D #371BA7
split-complementary
#A71B45 #1BA737 #1B8BA7
monochromatic
#3E0A19 #72122F #A71B45 #DC245B #E45882
Accessibility & contrast
On white
7.28
#A71B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#A71B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71B45
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71B45 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444546
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#B7002E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a71b45; /* rgb */ color: rgb(167, 27, 69); /* oklch */ color: oklch(47.8% 0.174 10.6);
Tailwind
colors: {
custom: {
50: '#c86978',
500: '#a71b45',
950: '#000000',
},
}SCSS
$custom: #a71b45; $custom-light: #c86978; $custom-dark: #000000;
JSON
{
"hex": "#a71b45",
"rgb": {
"r": 167,
"g": 27,
"b": 69
},
"hsl": {
"h": 342,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.47752,
"c": 0.17364,
"h": 10.6
},
"luminance": 0.09429
}Semantic roles & 50–950 ramp
primary
#A71B45
secondary
#56C8A6
accent
#EFB839
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B