#AB5138#AB5138
#AB5138 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.3% C 0.125 H 36.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5138 |
|---|---|
| RGB | rgb(171, 81, 56) |
| HSL | hsl(13, 51%, 45%) |
| HSV | hsv(13, 67%, 67%) |
| CMYK | cmyk(0%, 52.6%, 67.3%, 32.9%) |
| CIE-LAB | lab(45.40, 34.96, 31.82) |
| CIE-LCH | lch(45.40, 47.27, 42.30°) |
| OKLab | oklab(54.25% 0.1002 0.074) |
| OKLCH | oklch(54.25% 0.125 36.4) |
| XYZ | xyz(20.4527, 14.8308, 5.5262) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Sienna
#A0522D
ΔE00 4.83
Rust
#B7410E
ΔE00 7.07
Brick
#A03623
ΔE00 7.12
Brownish Red
#9E3623
ΔE00 7.31
Rust (survey)
#A83C09
ΔE00 7.88
Clay
#B66A50
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5138 #3892AB
analogous
#AB3859 #AB5138 #AB8A38
triadic
#AB5138 #38AB51 #5138AB
tetradic
#AB5138 #59AB38 #3892AB #8A38AB
square
#AB5138 #59AB38 #3892AB #8A38AB
split-complementary
#AB5138 #38AB8A #3859AB
monochromatic
#4F251A #7D3B29 #AB5138 #C87058 #D79886
Accessibility & contrast
On white
5.30
#AB5138 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#AB5138 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5138
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5138 | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F35
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#BB404B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab5138; /* rgb */ color: rgb(171, 81, 56); /* oklch */ color: oklch(54.3% 0.125 36.4);
Tailwind
colors: {
custom: {
50: '#ca846f',
500: '#ab5138',
950: '#000000',
},
}SCSS
$custom: #ab5138; $custom-light: #ca846f; $custom-dark: #000000;
JSON
{
"hex": "#ab5138",
"rgb": {
"r": 171,
"g": 81,
"b": 56
},
"hsl": {
"h": 13.043,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.54252,
"c": 0.12451,
"h": 36.4
},
"luminance": 0.14828
}Semantic roles & 50–950 ramp
primary
#AB5138
secondary
#7DB3C1
accent
#BCDA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#140B07
muted
#837C7A