#A5262F#A5262F
#A5262F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.163 H 22.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A5262F |
|---|---|
| RGB | rgb(165, 38, 47) |
| HSL | hsl(356, 63%, 40%) |
| HSV | hsv(356, 77%, 65%) |
| CMYK | cmyk(0%, 77%, 71.5%, 35.3%) |
| CIE-LAB | lab(37.10, 51.30, 27.01) |
| CIE-LCH | lch(37.10, 57.97, 27.77°) |
| OKLab | oklab(47.77% 0.1502 0.0622) |
| OKLCH | oklch(47.77% 0.163 22.5) |
| XYZ | xyz(16.7252, 9.5934, 3.6598) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.29
Lipstick Red
#C0022F
ΔE00 4.81
Firebrick
#B22222
ΔE00 4.89
Rouge
#AB1239
ΔE00 5.03
Carmine
#9D0216
ΔE00 5.55
Cardinal
#C41E3A
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5262F #26A59C
analogous
#A5266F #A5262F #A55D26
triadic
#A5262F #2FA526 #262FA5
tetradic
#A5262F #6FA526 #26A59C #5D26A5
square
#A5262F #6FA526 #26A59C #5D26A5
split-complementary
#A5262F #26A55D #266FA5
monochromatic
#420F13 #731B21 #A5262F #D13742 #DC6971
Accessibility & contrast
On white
7.20
#A5262F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A5262F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5262F
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5262F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5262F | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#B6002B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a5262f; /* rgb */ color: rgb(165, 38, 47); /* oklch */ color: oklch(47.8% 0.163 22.5);
Tailwind
colors: {
custom: {
50: '#c86c67',
500: '#a5262f',
950: '#000000',
},
}SCSS
$custom: #a5262f; $custom-light: #c86c67; $custom-dark: #000000;
JSON
{
"hex": "#a5262f",
"rgb": {
"r": 165,
"g": 38,
"b": 47
},
"hsl": {
"h": 355.748,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.47768,
"c": 0.1626,
"h": 22.5
},
"luminance": 0.09591
}Semantic roles & 50–950 ramp
primary
#A5262F
secondary
#64C3BC
accent
#E6DA42
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A