#A5262A#A5262A
#A5262A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.7% C 0.163 H 24.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A5262A |
|---|---|
| RGB | rgb(165, 38, 42) |
| HSL | hsl(358, 63%, 40%) |
| HSV | hsv(358, 77%, 65%) |
| CMYK | cmyk(0%, 77%, 74.5%, 35.3%) |
| CIE-LAB | lab(37.03, 51.07, 29.98) |
| CIE-LCH | lch(37.03, 59.22, 30.42°) |
| OKLab | oklab(47.69% 0.1484 0.0677) |
| OKLCH | oklch(47.69% 0.163 24.5) |
| XYZ | xyz(16.6300, 9.5553, 3.1588) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 0.85
Firebrick
#B22222
ΔE00 3.57
Carmine
#9D0216
ΔE00 4.57
Lipstick Red
#C0022F
ΔE00 5.20
Brick
#A03623
ΔE00 5.59
Brownish Red
#9E3623
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5262A #26A5A1
analogous
#A5266A #A5262A #A56126
triadic
#A5262A #2AA526 #262AA5
tetradic
#A5262A #6AA526 #26A5A1 #6126A5
square
#A5262A #6AA526 #26A5A1 #6126A5
split-complementary
#A5262A #26A561 #266AA5
monochromatic
#420F11 #731B1D #A5262A #D1373C #DC696D
Accessibility & contrast
On white
7.22
#A5262A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A5262A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5262A
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5262A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5262A | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4629
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#B60029
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a5262a; /* rgb */ color: rgb(165, 38, 42); /* oklch */ color: oklch(47.7% 0.163 24.5);
Tailwind
colors: {
custom: {
50: '#c86c64',
500: '#a5262a',
950: '#000000',
},
}SCSS
$custom: #a5262a; $custom-light: #c86c64; $custom-dark: #000000;
JSON
{
"hex": "#a5262a",
"rgb": {
"r": 165,
"g": 38,
"b": 42
},
"hsl": {
"h": 358.11,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.47693,
"c": 0.16309,
"h": 24.5
},
"luminance": 0.09553
}Semantic roles & 50–950 ramp
primary
#A5262A
secondary
#64C3C0
accent
#E6E042
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79