#AB3031#AB3031
#AB3031 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.8% C 0.160 H 24.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3031 |
|---|---|
| RGB | rgb(171, 48, 49) |
| HSL | hsl(360, 56%, 43%) |
| HSV | hsv(360, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 71.3%, 32.9%) |
| CIE-LAB | lab(39.57, 49.74, 29.01) |
| CIE-LCH | lch(39.57, 57.58, 30.25°) |
| OKLab | oklab(49.83% 0.145 0.0667) |
| OKLCH | oklch(49.83% 0.16 24.7) |
| XYZ | xyz(18.4080, 10.9963, 4.0584) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.95
Firebrick
#B22222
ΔE00 3.49
Lipstick Red
#C0022F
ΔE00 4.69
Dull Red
#BB3F3F
ΔE00 4.90
Cardinal
#C41E3A
ΔE00 5.45
Brick
#A03623
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3031 #30ABAA
analogous
#AB306E #AB3031 #AB6C30
triadic
#AB3031 #31AB30 #3031AB
tetradic
#AB3031 #6EAB30 #30ABAA #6C30AB
square
#AB3031 #6EAB30 #30ABAA #6C30AB
split-complementary
#AB3031 #30AB6C #306EAB
monochromatic
#4B1516 #7B2323 #AB3031 #CD4C4D #DA7B7C
Accessibility & contrast
On white
6.56
#AB3031 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB3031 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3031
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3031 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab3031; /* rgb */ color: rgb(171, 48, 49); /* oklch */ color: oklch(49.8% 0.160 24.7);
Tailwind
colors: {
custom: {
50: '#cc7169',
500: '#ab3031',
950: '#000000',
},
}SCSS
$custom: #ab3031; $custom-light: #cc7169; $custom-dark: #000000;
JSON
{
"hex": "#ab3031",
"rgb": {
"r": 171,
"g": 48,
"b": 49
},
"hsl": {
"h": 359.512,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.49828,
"c": 0.15954,
"h": 24.7
},
"luminance": 0.10994
}Semantic roles & 50–950 ramp
primary
#AB3031
secondary
#74C3C2
accent
#DFDE48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A