#AB282A#AB282A
#AB282A is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.0% C 0.167 H 25.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AB282A |
|---|---|
| RGB | rgb(171, 40, 42) |
| HSL | hsl(359, 62%, 41%) |
| HSV | hsv(359, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 75.4%, 32.9%) |
| CIE-LAB | lab(38.46, 52.27, 31.91) |
| CIE-LCH | lch(38.46, 61.24, 31.40°) |
| OKLab | oklab(48.97% 0.1514 0.0715) |
| OKLCH | oklch(48.97% 0.167 25.3) |
| XYZ | xyz(17.9734, 10.3455, 3.2405) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.13
Firebrick
#B22222
ΔE00 2.35
Scarlet
#BE0119
ΔE00 4.58
Lipstick Red
#C0022F
ΔE00 4.70
Brick
#A03623
ΔE00 5.11
Brownish Red
#9E3623
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB282A #28ABA9
analogous
#AB286C #AB282A #AB6828
triadic
#AB282A #2AAB28 #282AAB
tetradic
#AB282A #6CAB28 #28ABA9 #6828AB
square
#AB282A #6CAB28 #28ABA9 #6828AB
split-complementary
#AB282A #28AB68 #286CAB
monochromatic
#481112 #791C1E #AB282A #D23E41 #DE7072
Accessibility & contrast
On white
6.84
#AB282A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AB282A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB282A
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB282A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB282A | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504829
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#BC002A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab282a; /* rgb */ color: rgb(171, 40, 42); /* oklch */ color: oklch(49.0% 0.167 25.3);
Tailwind
colors: {
custom: {
50: '#cd6d64',
500: '#ab282a',
950: '#000000',
},
}SCSS
$custom: #ab282a; $custom-light: #cd6d64; $custom-dark: #000000;
JSON
{
"hex": "#ab282a",
"rgb": {
"r": 171,
"g": 40,
"b": 42
},
"hsl": {
"h": 359.084,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.48965,
"c": 0.16744,
"h": 25.3
},
"luminance": 0.10343
}Semantic roles & 50–950 ramp
primary
#AB282A
secondary
#6AC4C3
accent
#E5E343
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150805
muted
#837B7A