#AB3831#AB3831
#AB3831 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.7% C 0.152 H 27.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3831 |
|---|---|
| RGB | rgb(171, 56, 49) |
| HSL | hsl(3, 55%, 43%) |
| HSV | hsv(3, 71%, 67%) |
| CMYK | cmyk(0%, 67.3%, 71.3%, 32.9%) |
| CIE-LAB | lab(40.75, 46.52, 30.39) |
| CIE-LCH | lch(40.75, 55.57, 33.16°) |
| OKLab | oklab(50.71% 0.1348 0.0697) |
| OKLCH | oklch(50.71% 0.152 27.3) |
| XYZ | xyz(18.7651, 11.7107, 4.1774) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.06
Firebrick
#B22222
ΔE00 3.49
Brick
#A03623
ΔE00 4.28
Brownish Red
#9E3623
ΔE00 4.48
Dull Red
#BB3F3F
ΔE00 4.50
Scarlet
#BE0119
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3831 #31A4AB
analogous
#AB3167 #AB3831 #AB7531
triadic
#AB3831 #31AB38 #3831AB
tetradic
#AB3831 #67AB31 #31A4AB #7531AB
square
#AB3831 #67AB31 #31A4AB #7531AB
split-complementary
#AB3831 #31AB75 #3167AB
monochromatic
#4C1916 #7B2823 #AB3831 #CC544D #DA827D
Accessibility & contrast
On white
6.28
#AB3831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AB3831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3831
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3831 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502F
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#BC1837
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3831; /* rgb */ color: rgb(171, 56, 49); /* oklch */ color: oklch(50.7% 0.152 27.3);
Tailwind
colors: {
custom: {
50: '#cb7569',
500: '#ab3831',
950: '#000000',
},
}SCSS
$custom: #ab3831; $custom-light: #cb7569; $custom-dark: #000000;
JSON
{
"hex": "#ab3831",
"rgb": {
"r": 171,
"g": 56,
"b": 49
},
"hsl": {
"h": 3.443,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.5071,
"c": 0.15174,
"h": 27.3
},
"luminance": 0.11708
}Semantic roles & 50–950 ramp
primary
#AB3831
secondary
#75BEC2
accent
#D6DF49
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150906
muted
#837B7A