#A81F4B#A81F4B
#A81F4B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.172 H 8.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F4B |
|---|---|
| RGB | rgb(168, 31, 75) |
| HSL | hsl(341, 69%, 39%) |
| HSV | hsv(341, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 55.4%, 34.1%) |
| CIE-LAB | lab(37.51, 56.01, 9.89) |
| CIE-LCH | lch(37.51, 56.88, 10.01°) |
| OKLab | oklab(48.35% 0.1705 0.0252) |
| OKLCH | oklch(48.35% 0.172 8.4) |
| XYZ | xyz(17.9102, 9.8154, 7.6067) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.81
Raspberry (survey)
#B00149
ΔE00 1.91
Cranberry
#9E003A
ΔE00 4.30
Berry
#990F4B
ΔE00 4.81
Purple Red
#990147
ΔE00 4.95
Rouge
#AB1239
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F4B #1FA87C
analogous
#A81F90 #A81F4B #A8381F
triadic
#A81F4B #4BA81F #1F4BA8
tetradic
#A81F4B #90A81F #1FA87C #381FA8
square
#A81F4B #90A81F #1FA87C #381FA8
split-complementary
#A81F4B #1FA838 #1F90A8
monochromatic
#410C1D #741534 #A81F4B #D82C63 #E26089
Accessibility & contrast
On white
7.09
#A81F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A81F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F4B
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F4B | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474C
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#B80033
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a81f4b; /* rgb */ color: rgb(168, 31, 75); /* oklch */ color: oklch(48.4% 0.172 8.4);
Tailwind
colors: {
custom: {
50: '#c86a7d',
500: '#a81f4b',
950: '#000000',
},
}SCSS
$custom: #a81f4b; $custom-light: #c86a7d; $custom-dark: #000000;
JSON
{
"hex": "#a81f4b",
"rgb": {
"r": 168,
"g": 31,
"b": 75
},
"hsl": {
"h": 340.73,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48354,
"c": 0.17233,
"h": 8.4
},
"luminance": 0.09813
}Semantic roles & 50–950 ramp
primary
#A81F4B
secondary
#5DC6A4
accent
#ECB33C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B