#AB282F#AB282F
#AB282F is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 23.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB282F |
|---|---|
| RGB | rgb(171, 40, 47) |
| HSL | hsl(357, 62%, 41%) |
| HSV | hsv(357, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 72.5%, 32.9%) |
| CIE-LAB | lab(38.52, 52.49, 28.98) |
| CIE-LCH | lch(38.52, 59.96, 28.91°) |
| OKLab | oklab(49.04% 0.1532 0.0662) |
| OKLCH | oklch(49.04% 0.167 23.4) |
| XYZ | xyz(18.0685, 10.3835, 3.7416) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.87
Firebrick
#B22222
ΔE00 3.76
Lipstick Red
#C0022F
ΔE00 3.99
Cardinal
#C41E3A
ΔE00 5.21
Scarlet
#BE0119
ΔE00 5.70
Dull Red
#BB3F3F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB282F #28ABA4
analogous
#AB2871 #AB282F #AB6328
triadic
#AB282F #2FAB28 #282FAB
tetradic
#AB282F #71AB28 #28ABA4 #6328AB
square
#AB282F #71AB28 #28ABA4 #6328AB
split-complementary
#AB282F #28AB63 #2871AB
monochromatic
#481114 #791C21 #AB282F #D23E46 #DE7076
Accessibility & contrast
On white
6.83
#AB282F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB282F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB282F
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB282F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB282F | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492E
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab282f; /* rgb */ color: rgb(171, 40, 47); /* oklch */ color: oklch(49.0% 0.167 23.4);
Tailwind
colors: {
custom: {
50: '#cc6d67',
500: '#ab282f',
950: '#000000',
},
}SCSS
$custom: #ab282f; $custom-light: #cc6d67; $custom-dark: #000000;
JSON
{
"hex": "#ab282f",
"rgb": {
"r": 171,
"g": 40,
"b": 47
},
"hsl": {
"h": 356.794,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49036,
"c": 0.16691,
"h": 23.4
},
"luminance": 0.10381
}Semantic roles & 50–950 ramp
primary
#AB282F
secondary
#6AC4C0
accent
#E5DC43
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A