#AB3840#AB3840
#AB3840 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.0% C 0.150 H 20.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3840 |
|---|---|
| RGB | rgb(171, 56, 64) |
| HSL | hsl(356, 51%, 45%) |
| HSV | hsv(356, 67%, 67%) |
| CMYK | cmyk(0%, 67.3%, 62.6%, 32.9%) |
| CIE-LAB | lab(40.99, 47.40, 21.60) |
| CIE-LCH | lch(40.99, 52.09, 24.50°) |
| OKLab | oklab(50.97% 0.1406 0.0521) |
| OKLCH | oklch(50.97% 0.15 20.3) |
| XYZ | xyz(19.1361, 11.8591, 6.1309) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 4.67
Cardinal
#C41E3A
ΔE00 4.81
Dusty Red
#B9484E
ΔE00 4.97
Brown
#A52A2A
ΔE00 5.34
Rouge
#AB1239
ΔE00 5.45
Rose Red
#BE013C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3840 #38ABA3
analogous
#AB387A #AB3840 #AB6A38
triadic
#AB3840 #40AB38 #3840AB
tetradic
#AB3840 #7AAB38 #38ABA3 #6A38AB
square
#AB3840 #7AAB38 #38ABA3 #6A38AB
split-complementary
#AB3840 #38AB6A #387AAB
monochromatic
#4F1A1D #7D292F #AB3840 #C85860 #D7868C
Accessibility & contrast
On white
6.23
#AB3840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AB3840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3840
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3840 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#736A3D
Tritanopia (blue-blind)
#BB1D3C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab3840; /* rgb */ color: rgb(171, 56, 64); /* oklch */ color: oklch(51.0% 0.150 20.3);
Tailwind
colors: {
custom: {
50: '#ca7574',
500: '#ab3840',
950: '#000000',
},
}SCSS
$custom: #ab3840; $custom-light: #ca7574; $custom-dark: #000000;
JSON
{
"hex": "#ab3840",
"rgb": {
"r": 171,
"g": 56,
"b": 64
},
"hsl": {
"h": 355.826,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.50965,
"c": 0.14994,
"h": 20.3
},
"luminance": 0.11856
}Semantic roles & 50–950 ramp
primary
#AB3840
secondary
#7DC1BD
accent
#DAD04E
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140908
muted
#837B7B