#A51F2F#A51F2F
#A51F2F is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.2% C 0.168 H 21.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A51F2F |
|---|---|
| RGB | rgb(165, 31, 47) |
| HSL | hsl(353, 68%, 38%) |
| HSV | hsv(353, 81%, 65%) |
| CMYK | cmyk(0%, 81.2%, 71.5%, 35.3%) |
| CIE-LAB | lab(36.34, 53.44, 26.10) |
| CIE-LCH | lch(36.34, 59.47, 26.03°) |
| OKLab | oklab(47.2% 0.1571 0.0602) |
| OKLCH | oklch(47.2% 0.168 21) |
| XYZ | xyz(16.5220, 9.1871, 3.5921) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.46
Rouge
#AB1239
ΔE00 3.97
Lipstick Red
#C0022F
ΔE00 4.82
Rose Red
#BE013C
ΔE00 5.55
Carmine
#9D0216
ΔE00 5.74
Firebrick
#B22222
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51F2F #1FA595
analogous
#A51F72 #A51F2F #A5521F
triadic
#A51F2F #2FA51F #1F2FA5
tetradic
#A51F2F #72A51F #1FA595 #521FA5
square
#A51F2F #72A51F #1FA595 #521FA5
split-complementary
#A51F2F #1FA552 #1F72A5
monochromatic
#3E0C12 #711520 #A51F2F #D72A3F #E15E6D
Accessibility & contrast
On white
7.40
#A51F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#A51F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51F2F
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51F2F | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49432E
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#B60027
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a51f2f; /* rgb */ color: rgb(165, 31, 47); /* oklch */ color: oklch(47.2% 0.168 21.0);
Tailwind
colors: {
custom: {
50: '#c86967',
500: '#a51f2f',
950: '#000000',
},
}SCSS
$custom: #a51f2f; $custom-light: #c86967; $custom-dark: #000000;
JSON
{
"hex": "#a51f2f",
"rgb": {
"r": 165,
"g": 31,
"b": 47
},
"hsl": {
"h": 352.836,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.47204,
"c": 0.1682,
"h": 21
},
"luminance": 0.09185
}Semantic roles & 50–950 ramp
primary
#A51F2F
secondary
#5BC5B8
accent
#EBD63D
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A