#AB282E#AB282E
#AB282E is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 23.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB282E |
|---|---|
| RGB | rgb(171, 40, 46) |
| HSL | hsl(357, 62%, 41%) |
| HSV | hsv(357, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 73.1%, 32.9%) |
| CIE-LAB | lab(38.51, 52.44, 29.57) |
| CIE-LCH | lch(38.51, 60.20, 29.42°) |
| OKLab | oklab(49.02% 0.1529 0.0673) |
| OKLCH | oklch(49.02% 0.167 23.8) |
| XYZ | xyz(18.0486, 10.3756, 3.6366) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.63
Firebrick
#B22222
ΔE00 3.46
Lipstick Red
#C0022F
ΔE00 4.10
Cardinal
#C41E3A
ΔE00 5.37
Scarlet
#BE0119
ΔE00 5.46
Carmine
#9D0216
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB282E #28ABA5
analogous
#AB2870 #AB282E #AB6428
triadic
#AB282E #2EAB28 #282EAB
tetradic
#AB282E #70AB28 #28ABA5 #6428AB
square
#AB282E #70AB28 #28ABA5 #6428AB
split-complementary
#AB282E #28AB64 #2870AB
monochromatic
#481113 #791C21 #AB282E #D23E45 #DE7075
Accessibility & contrast
On white
6.83
#AB282E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AB282E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB282E
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB282E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB282E | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492D
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab282e; /* rgb */ color: rgb(171, 40, 46); /* oklch */ color: oklch(49.0% 0.167 23.8);
Tailwind
colors: {
custom: {
50: '#cc6d67',
500: '#ab282e',
950: '#000000',
},
}SCSS
$custom: #ab282e; $custom-light: #cc6d67; $custom-dark: #000000;
JSON
{
"hex": "#ab282e",
"rgb": {
"r": 171,
"g": 40,
"b": 46
},
"hsl": {
"h": 357.252,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49021,
"c": 0.16702,
"h": 23.8
},
"luminance": 0.10373
}Semantic roles & 50–950 ramp
primary
#AB282E
secondary
#6AC4C0
accent
#E5DE43
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A