#AB2931#AB2931
#AB2931 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 22.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2931 |
|---|---|
| RGB | rgb(171, 41, 49) |
| HSL | hsl(356, 61%, 42%) |
| HSV | hsv(356, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 71.3%, 32.9%) |
| CIE-LAB | lab(38.67, 52.25, 27.94) |
| CIE-LCH | lch(38.67, 59.25, 28.13°) |
| OKLab | oklab(49.16% 0.1529 0.0643) |
| OKLCH | oklch(49.16% 0.166 22.8) |
| XYZ | xyz(18.1440, 10.4683, 3.9704) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.30
Lipstick Red
#C0022F
ΔE00 3.92
Firebrick
#B22222
ΔE00 4.24
Cardinal
#C41E3A
ΔE00 4.96
Rouge
#AB1239
ΔE00 5.46
Dull Red
#BB3F3F
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2931 #29ABA3
analogous
#AB2972 #AB2931 #AB6229
triadic
#AB2931 #31AB29 #2931AB
tetradic
#AB2931 #72AB29 #29ABA3 #6229AB
square
#AB2931 #72AB29 #29ABA3 #6229AB
split-complementary
#AB2931 #29AB62 #2972AB
monochromatic
#481115 #7A1D23 #AB2931 #D14049 #DD7178
Accessibility & contrast
On white
6.79
#AB2931 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2931 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2931
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2931 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2931; /* rgb */ color: rgb(171, 41, 49); /* oklch */ color: oklch(49.2% 0.166 22.8);
Tailwind
colors: {
custom: {
50: '#cc6e69',
500: '#ab2931',
950: '#000000',
},
}SCSS
$custom: #ab2931; $custom-light: #cc6e69; $custom-dark: #000000;
JSON
{
"hex": "#ab2931",
"rgb": {
"r": 171,
"g": 41,
"b": 49
},
"hsl": {
"h": 356.308,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49155,
"c": 0.16587,
"h": 22.8
},
"luminance": 0.10466
}Semantic roles & 50–950 ramp
primary
#AB2931
secondary
#6CC4BF
accent
#E4DB43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A