#A81F2D#A81F2D
#A81F2D is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.171 H 22.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F2D |
|---|---|
| RGB | rgb(168, 31, 45) |
| HSL | hsl(354, 69%, 39%) |
| HSV | hsv(354, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 73.2%, 34.1%) |
| CIE-LAB | lab(36.92, 54.22, 28.18) |
| CIE-LCH | lch(36.92, 61.11, 27.46°) |
| OKLab | oklab(47.73% 0.1587 0.0642) |
| OKLCH | oklch(47.73% 0.171 22) |
| XYZ | xyz(17.1141, 9.4970, 3.4141) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.64
Lipstick Red
#C0022F
ΔE00 4.24
Rouge
#AB1239
ΔE00 4.79
Firebrick
#B22222
ΔE00 4.79
Carmine
#9D0216
ΔE00 5.31
Rose Red
#BE013C
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F2D #1FA89A
analogous
#A81F72 #A81F2D #A8561F
triadic
#A81F2D #2DA81F #1F2DA8
tetradic
#A81F2D #72A81F #1FA89A #561FA8
square
#A81F2D #72A81F #1FA89A #561FA8
split-complementary
#A81F2D #1FA856 #1F72A8
monochromatic
#410C11 #74151F #A81F2D #D82C3E #E2606D
Accessibility & contrast
On white
7.24
#A81F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A81F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F2D
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F2D | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A442C
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#B90026
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a81f2d; /* rgb */ color: rgb(168, 31, 45); /* oklch */ color: oklch(47.7% 0.171 22.0);
Tailwind
colors: {
custom: {
50: '#ca6966',
500: '#a81f2d',
950: '#000000',
},
}SCSS
$custom: #a81f2d; $custom-light: #ca6966; $custom-dark: #000000;
JSON
{
"hex": "#a81f2d",
"rgb": {
"r": 168,
"g": 31,
"b": 45
},
"hsl": {
"h": 353.869,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.47734,
"c": 0.17119,
"h": 22
},
"luminance": 0.09494
}Semantic roles & 50–950 ramp
primary
#A81F2D
secondary
#5DC6BB
accent
#ECDA3C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A