#AB241F#AB241F
#AB241F is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.5% C 0.172 H 28.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AB241F |
|---|---|
| RGB | rgb(171, 36, 31) |
| HSL | hsl(2, 69%, 40%) |
| HSV | hsv(2, 82%, 67%) |
| CMYK | cmyk(0%, 78.9%, 81.9%, 32.9%) |
| CIE-LAB | lab(37.88, 53.15, 37.61) |
| CIE-LCH | lch(37.88, 65.11, 35.29°) |
| OKLab | oklab(48.5% 0.1519 0.0806) |
| OKLCH | oklch(48.5% 0.172 28) |
| XYZ | xyz(17.6750, 10.0215, 2.2997) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.50
Brown
#A52A2A
ΔE00 2.96
Scarlet
#BE0119
ΔE00 3.48
Brick
#A03623
ΔE00 3.65
Darkish Red
#A90308
ΔE00 3.82
Brownish Red
#9E3623
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB241F #1FA6AB
analogous
#AB1F60 #AB241F #AB6A1F
triadic
#AB241F #1FAB24 #241FAB
tetradic
#AB241F #60AB1F #1FA6AB #6A1FAB
square
#AB241F #60AB1F #1FA6AB #6A1FAB
split-complementary
#AB241F #1FAB6A #1F60AB
monochromatic
#430E0C #771916 #AB241F #D9342E #E36662
Accessibility & contrast
On white
6.99
#AB241F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#AB241F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB241F
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB241F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB241F | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#706418
Tritanopia (blue-blind)
#BD0025
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab241f; /* rgb */ color: rgb(171, 36, 31); /* oklch */ color: oklch(48.5% 0.172 28.0);
Tailwind
colors: {
custom: {
50: '#cd6b5c',
500: '#ab241f',
950: '#000000',
},
}SCSS
$custom: #ab241f; $custom-light: #cd6b5c; $custom-dark: #000000;
JSON
{
"hex": "#ab241f",
"rgb": {
"r": 171,
"g": 36,
"b": 31
},
"hsl": {
"h": 2.143,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.48499,
"c": 0.17191,
"h": 28
},
"luminance": 0.10019
}Semantic roles & 50–950 ramp
primary
#AB241F
secondary
#5EC4C7
accent
#E6EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#160704
muted
#847A79