#AB281F#AB281F
#AB281F is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.8% C 0.169 H 28.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AB281F |
|---|---|
| RGB | rgb(171, 40, 31) |
| HSL | hsl(4, 69%, 40%) |
| HSV | hsv(4, 82%, 67%) |
| CMYK | cmyk(0%, 76.6%, 81.9%, 32.9%) |
| CIE-LAB | lab(38.34, 51.87, 38.06) |
| CIE-LCH | lch(38.34, 64.34, 36.27°) |
| OKLab | oklab(48.84% 0.1479 0.0816) |
| OKLCH | oklch(48.84% 0.169 28.9) |
| XYZ | xyz(17.8029, 10.2773, 2.3424) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.84
Brick
#A03623
ΔE00 3.08
Brownish Red
#9E3623
ΔE00 3.33
Brown
#A52A2A
ΔE00 3.42
Scarlet
#BE0119
ΔE00 3.70
Darkish Red
#A90308
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB281F #1FA2AB
analogous
#AB1F5C #AB281F #AB6E1F
triadic
#AB281F #1FAB28 #281FAB
tetradic
#AB281F #5CAB1F #1FA2AB #6E1FAB
square
#AB281F #5CAB1F #1FA2AB #6E1FAB
split-complementary
#AB281F #1FAB6E #1F5CAB
monochromatic
#43100C #771C16 #AB281F #D9392E #E36A62
Accessibility & contrast
On white
6.87
#AB281F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#AB281F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB281F
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB281F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB281F | 1.00 | 6.87 | 3.05 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#716518
Tritanopia (blue-blind)
#BD0028
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #ab281f; /* rgb */ color: rgb(171, 40, 31); /* oklch */ color: oklch(48.8% 0.169 28.9);
Tailwind
colors: {
custom: {
50: '#cd6d5c',
500: '#ab281f',
950: '#000000',
},
}SCSS
$custom: #ab281f; $custom-light: #cd6d5c; $custom-dark: #000000;
JSON
{
"hex": "#ab281f",
"rgb": {
"r": 171,
"g": 40,
"b": 31
},
"hsl": {
"h": 3.857,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.48837,
"c": 0.16887,
"h": 28.9
},
"luminance": 0.10274
}Semantic roles & 50–950 ramp
primary
#AB281F
secondary
#5EC1C7
accent
#E1EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79