#AB3837#AB3837
#AB3837 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.8% C 0.151 H 24.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3837 |
|---|---|
| RGB | rgb(171, 56, 55) |
| HSL | hsl(1, 51%, 44%) |
| HSV | hsv(1, 68%, 67%) |
| CMYK | cmyk(0%, 67.3%, 67.8%, 32.9%) |
| CIE-LAB | lab(40.84, 46.84, 26.91) |
| CIE-LCH | lch(40.84, 54.02, 29.88°) |
| OKLab | oklab(50.8% 0.1371 0.063) |
| OKLCH | oklch(50.8% 0.151 24.7) |
| XYZ | xyz(18.9003, 11.7648, 4.8893) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.28
Dull Red
#BB3F3F
ΔE00 3.86
Firebrick
#B22222
ΔE00 4.63
Lipstick Red
#C0022F
ΔE00 5.41
Cardinal
#C41E3A
ΔE00 5.45
Reddish
#C44240
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3837 #37AAAB
analogous
#AB3770 #AB3837 #AB7237
triadic
#AB3837 #37AB38 #3837AB
tetradic
#AB3837 #70AB37 #37AAAB #7237AB
square
#AB3837 #70AB37 #37AAAB #7237AB
split-complementary
#AB3837 #37AB72 #3770AB
monochromatic
#4E1A19 #7D2928 #AB3837 #C95756 #D88585
Accessibility & contrast
On white
6.26
#AB3837 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AB3837 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3837
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3837 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575136
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#BC1A39
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3837; /* rgb */ color: rgb(171, 56, 55); /* oklch */ color: oklch(50.8% 0.151 24.7);
Tailwind
colors: {
custom: {
50: '#cb756e',
500: '#ab3837',
950: '#000000',
},
}SCSS
$custom: #ab3837; $custom-light: #cb756e; $custom-dark: #000000;
JSON
{
"hex": "#ab3837",
"rgb": {
"r": 171,
"g": 56,
"b": 55
},
"hsl": {
"h": 0.517,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.50803,
"c": 0.15084,
"h": 24.7
},
"luminance": 0.11762
}Semantic roles & 50–950 ramp
primary
#AB3837
secondary
#7CC1C1
accent
#DADB4D
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150907
muted
#837B7A