#A81F40#A81F40
#A81F40 is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.1% C 0.171 H 13.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F40 |
|---|---|
| RGB | rgb(168, 31, 64) |
| HSL | hsl(346, 69%, 39%) |
| HSV | hsv(346, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 61.9%, 34.1%) |
| CIE-LAB | lab(37.26, 55.25, 16.60) |
| CIE-LCH | lch(37.26, 57.69, 16.73°) |
| OKLab | oklab(48.09% 0.1661 0.0406) |
| OKLCH | oklch(48.09% 0.171 13.7) |
| XYZ | xyz(17.5657, 9.6776, 5.7925) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.90
Cranberry
#9E003A
ΔE00 3.75
Raspberry (survey)
#B00149
ΔE00 3.92
Purplish Red
#B0054B
ΔE00 4.27
Rose Red
#BE013C
ΔE00 4.34
Ruby
#CA0147
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F40 #1FA887
analogous
#A81F85 #A81F40 #A8421F
triadic
#A81F40 #40A81F #1F40A8
tetradic
#A81F40 #85A81F #1FA887 #421FA8
square
#A81F40 #85A81F #1FA887 #421FA8
split-complementary
#A81F40 #1FA842 #1F85A8
monochromatic
#410C19 #74152C #A81F40 #D82C56 #E2607F
Accessibility & contrast
On white
7.16
#A81F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#A81F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F40
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F40 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474640
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#B8002E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a81f40; /* rgb */ color: rgb(168, 31, 64); /* oklch */ color: oklch(48.1% 0.171 13.7);
Tailwind
colors: {
custom: {
50: '#c96a74',
500: '#a81f40',
950: '#000000',
},
}SCSS
$custom: #a81f40; $custom-light: #c96a74; $custom-dark: #000000;
JSON
{
"hex": "#a81f40",
"rgb": {
"r": 168,
"g": 31,
"b": 64
},
"hsl": {
"h": 345.547,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48087,
"c": 0.17103,
"h": 13.7
},
"luminance": 0.09675
}Semantic roles & 50–950 ramp
primary
#A81F40
secondary
#5DC6AD
accent
#ECC13C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150708
muted
#837A7B