#AB3940#AB3940
#AB3940 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.1% C 0.149 H 20.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3940 |
|---|---|
| RGB | rgb(171, 57, 64) |
| HSL | hsl(356, 50%, 45%) |
| HSV | hsv(356, 67%, 67%) |
| CMYK | cmyk(0%, 66.7%, 62.6%, 32.9%) |
| CIE-LAB | lab(41.15, 46.97, 21.81) |
| CIE-LCH | lch(41.15, 51.79, 24.90°) |
| OKLab | oklab(51.08% 0.1393 0.0525) |
| OKLCH | oklch(51.08% 0.149 20.7) |
| XYZ | xyz(19.1850, 11.9570, 6.1472) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 4.47
Dusty Red
#B9484E
ΔE00 4.84
Cardinal
#C41E3A
ΔE00 4.86
Brown
#A52A2A
ΔE00 5.28
Lipstick Red
#C0022F
ΔE00 5.65
Rose Red
#BE013C
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3940 #39ABA4
analogous
#AB3979 #AB3940 #AB6B39
triadic
#AB3940 #40AB39 #3940AB
tetradic
#AB3940 #79AB39 #39ABA4 #6B39AB
square
#AB3940 #79AB39 #39ABA4 #6B39AB
split-complementary
#AB3940 #39AB6B #3979AB
monochromatic
#4F1A1E #7D2A2F #AB3940 #C85960 #D7878C
Accessibility & contrast
On white
6.19
#AB3940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AB3940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3940
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3940 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#BB1F3C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab3940; /* rgb */ color: rgb(171, 57, 64); /* oklch */ color: oklch(51.1% 0.149 20.7);
Tailwind
colors: {
custom: {
50: '#ca7674',
500: '#ab3940',
950: '#000000',
},
}SCSS
$custom: #ab3940; $custom-light: #ca7674; $custom-dark: #000000;
JSON
{
"hex": "#ab3940",
"rgb": {
"r": 171,
"g": 57,
"b": 64
},
"hsl": {
"h": 356.316,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.51082,
"c": 0.14884,
"h": 20.7
},
"luminance": 0.11954
}Semantic roles & 50–950 ramp
primary
#AB3940
secondary
#7FC1BD
accent
#DAD14E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B