#AB4938#AB4938
#AB4938 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.0% C 0.133 H 31.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4938 |
|---|---|
| RGB | rgb(171, 73, 56) |
| HSL | hsl(9, 51%, 45%) |
| HSV | hsv(9, 67%, 67%) |
| CMYK | cmyk(0%, 57.3%, 67.3%, 32.9%) |
| CIE-LAB | lab(43.82, 39.04, 29.92) |
| CIE-LCH | lch(43.82, 49.19, 37.47°) |
| OKLab | oklab(53.05% 0.1128 0.0698) |
| OKLCH | oklch(53.05% 0.133 31.8) |
| XYZ | xyz(19.8928, 13.7111, 5.3396) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 5.39
Brick
#A03623
ΔE00 5.40
Brownish Red
#9E3623
ΔE00 5.62
Reddish
#C44240
ΔE00 6.02
Firebrick
#B22222
ΔE00 6.91
Brown
#A52A2A
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4938 #389AAB
analogous
#AB3860 #AB4938 #AB8338
triadic
#AB4938 #38AB49 #4938AB
tetradic
#AB4938 #60AB38 #389AAB #8338AB
square
#AB4938 #60AB38 #389AAB #8338AB
split-complementary
#AB4938 #38AB83 #3860AB
monochromatic
#4F221A #7D3529 #AB4938 #C86958 #D79286
Accessibility & contrast
On white
5.61
#AB4938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#AB4938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4938
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4938 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#BB3545
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab4938; /* rgb */ color: rgb(171, 73, 56); /* oklch */ color: oklch(53.0% 0.133 31.8);
Tailwind
colors: {
custom: {
50: '#ca7f6f',
500: '#ab4938',
950: '#000000',
},
}SCSS
$custom: #ab4938; $custom-light: #ca7f6f; $custom-dark: #000000;
JSON
{
"hex": "#ab4938",
"rgb": {
"r": 171,
"g": 73,
"b": 56
},
"hsl": {
"h": 8.87,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.53049,
"c": 0.13263,
"h": 31.8
},
"luminance": 0.13709
}Semantic roles & 50–950 ramp
primary
#AB4938
secondary
#7DB7C1
accent
#C5DA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A