#AB3838#AB3838
#AB3838 is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.8% C 0.151 H 24.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3838 |
|---|---|
| RGB | rgb(171, 56, 56) |
| HSL | hsl(0, 51%, 45%) |
| HSV | hsv(0, 67%, 67%) |
| CMYK | cmyk(0%, 67.3%, 67.3%, 32.9%) |
| CIE-LAB | lab(40.86, 46.90, 26.33) |
| CIE-LCH | lch(40.86, 53.78, 29.31°) |
| OKLab | oklab(50.82% 0.1374 0.0618) |
| OKLCH | oklch(50.82% 0.151 24.2) |
| XYZ | xyz(18.9245, 11.7745, 5.0168) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.44
Dull Red
#BB3F3F
ΔE00 3.84
Firebrick
#B22222
ΔE00 4.88
Cardinal
#C41E3A
ΔE00 5.29
Lipstick Red
#C0022F
ΔE00 5.33
Dusty Red
#B9484E
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3838 #38ABAB
analogous
#AB3872 #AB3838 #AB7238
triadic
#AB3838 #38AB38 #3838AB
tetradic
#AB3838 #72AB38 #38ABAB #7238AB
square
#AB3838 #72AB38 #38ABAB #7238AB
split-complementary
#AB3838 #38AB72 #3872AB
monochromatic
#4F1A1A #7D2929 #AB3838 #C85858 #D78686
Accessibility & contrast
On white
6.26
#AB3838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AB3838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3838
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3838 | 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)
#575137
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#BC1B39
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab3838; /* rgb */ color: rgb(171, 56, 56); /* oklch */ color: oklch(50.8% 0.151 24.2);
Tailwind
colors: {
custom: {
50: '#cb756e',
500: '#ab3838',
950: '#000000',
},
}SCSS
$custom: #ab3838; $custom-light: #cb756e; $custom-dark: #000000;
JSON
{
"hex": "#ab3838",
"rgb": {
"r": 171,
"g": 56,
"b": 56
},
"hsl": {
"h": 0,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.5082,
"c": 0.15071,
"h": 24.2
},
"luminance": 0.11772
}Semantic roles & 50–950 ramp
primary
#AB3838
secondary
#7DC1C1
accent
#DADA4E
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150907
muted
#837B7A