#AB3931#AB3931
#AB3931 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.8% C 0.151 H 27.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3931 |
|---|---|
| RGB | rgb(171, 57, 49) |
| HSL | hsl(4, 55%, 43%) |
| HSV | hsv(4, 71%, 67%) |
| CMYK | cmyk(0%, 66.7%, 71.3%, 32.9%) |
| CIE-LAB | lab(40.91, 46.09, 30.58) |
| CIE-LCH | lch(40.91, 55.31, 33.56°) |
| OKLab | oklab(50.83% 0.1335 0.0701) |
| OKLCH | oklch(50.83% 0.151 27.7) |
| XYZ | xyz(18.8141, 11.8086, 4.1937) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.28
Firebrick
#B22222
ΔE00 3.59
Brick
#A03623
ΔE00 4.15
Brownish Red
#9E3623
ΔE00 4.36
Dull Red
#BB3F3F
ΔE00 4.52
Scarlet
#BE0119
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3931 #31A3AB
analogous
#AB3166 #AB3931 #AB7631
triadic
#AB3931 #31AB39 #3931AB
tetradic
#AB3931 #66AB31 #31A3AB #7631AB
square
#AB3931 #66AB31 #31A3AB #7631AB
split-complementary
#AB3931 #31AB76 #3166AB
monochromatic
#4C1916 #7B2923 #AB3931 #CC554D #DA837D
Accessibility & contrast
On white
6.25
#AB3931 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AB3931 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3931
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3931 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512F
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#BC1B38
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3931; /* rgb */ color: rgb(171, 57, 49); /* oklch */ color: oklch(50.8% 0.151 27.7);
Tailwind
colors: {
custom: {
50: '#cb7669',
500: '#ab3931',
950: '#000000',
},
}SCSS
$custom: #ab3931; $custom-light: #cb7669; $custom-dark: #000000;
JSON
{
"hex": "#ab3931",
"rgb": {
"r": 171,
"g": 57,
"b": 49
},
"hsl": {
"h": 3.934,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50828,
"c": 0.15074,
"h": 27.7
},
"luminance": 0.11806
}Semantic roles & 50–950 ramp
primary
#AB3931
secondary
#75BDC2
accent
#D5DF49
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150906
muted
#837B7A