#AB3131#AB3131
#AB3131 is a mid, vivid red. Relative luminance 0.111; OKLCH L 49.9% C 0.159 H 25.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3131 |
|---|---|
| RGB | rgb(171, 49, 49) |
| HSL | hsl(0, 55%, 43%) |
| HSV | hsv(0, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 71.3%, 32.9%) |
| CIE-LAB | lab(39.71, 49.36, 29.17) |
| CIE-LCH | lch(39.71, 57.34, 30.59°) |
| OKLab | oklab(49.93% 0.1437 0.067) |
| OKLCH | oklch(49.93% 0.159 25) |
| XYZ | xyz(18.4493, 11.0790, 4.0721) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.00
Firebrick
#B22222
ΔE00 3.42
Dull Red
#BB3F3F
ΔE00 4.81
Lipstick Red
#C0022F
ΔE00 4.84
Brick
#A03623
ΔE00 5.41
Brownish Red
#9E3623
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3131 #31ABAB
analogous
#AB316E #AB3131 #AB6E31
triadic
#AB3131 #31AB31 #3131AB
tetradic
#AB3131 #6EAB31 #31ABAB #6E31AB
square
#AB3131 #6EAB31 #31ABAB #6E31AB
split-complementary
#AB3131 #31AB6E #316EAB
monochromatic
#4C1616 #7B2323 #AB3131 #CC4D4D #DA7D7D
Accessibility & contrast
On white
6.53
#AB3131 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB3131 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3131
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3131 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D30
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#BC0432
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab3131; /* rgb */ color: rgb(171, 49, 49); /* oklch */ color: oklch(49.9% 0.159 25.0);
Tailwind
colors: {
custom: {
50: '#cc7269',
500: '#ab3131',
950: '#000000',
},
}SCSS
$custom: #ab3131; $custom-light: #cc7269; $custom-dark: #000000;
JSON
{
"hex": "#ab3131",
"rgb": {
"r": 171,
"g": 49,
"b": 49
},
"hsl": {
"h": 0,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.49932,
"c": 0.15859,
"h": 25
},
"luminance": 0.11076
}Semantic roles & 50–950 ramp
primary
#AB3131
secondary
#75C2C2
accent
#DFDF49
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A