#AB4138#AB4138
#AB4138 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.9% C 0.141 H 27.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4138 |
|---|---|
| RGB | rgb(171, 65, 56) |
| HSL | hsl(5, 51%, 45%) |
| HSV | hsv(5, 67%, 67%) |
| CMYK | cmyk(0%, 62%, 67.3%, 32.9%) |
| CIE-LAB | lab(42.35, 42.89, 28.15) |
| CIE-LCH | lch(42.35, 51.31, 33.28°) |
| OKLab | oklab(51.94% 0.1248 0.0659) |
| OKLCH | oklch(51.94% 0.141 27.8) |
| XYZ | xyz(19.4006, 12.7267, 5.1755) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.74
Brown
#A52A2A
ΔE00 4.80
Brick
#A03623
ΔE00 5.19
Firebrick
#B22222
ΔE00 5.26
Reddish
#C44240
ΔE00 5.29
Brownish Red
#9E3623
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4138 #38A2AB
analogous
#AB3868 #AB4138 #AB7B38
triadic
#AB4138 #38AB41 #4138AB
tetradic
#AB4138 #68AB38 #38A2AB #7B38AB
square
#AB4138 #68AB38 #38A2AB #7B38AB
split-complementary
#AB4138 #38AB7B #3868AB
monochromatic
#4F1E1A #7D2F29 #AB4138 #C86158 #D78C86
Accessibility & contrast
On white
5.92
#AB4138 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#AB4138 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4138
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4138 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5636
Deuteranopia (green-blind)
#776D35
Tritanopia (blue-blind)
#BC2A40
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab4138; /* rgb */ color: rgb(171, 65, 56); /* oklch */ color: oklch(51.9% 0.141 27.8);
Tailwind
colors: {
custom: {
50: '#cb7a6f',
500: '#ab4138',
950: '#000000',
},
}SCSS
$custom: #ab4138; $custom-light: #cb7a6f; $custom-dark: #000000;
JSON
{
"hex": "#ab4138",
"rgb": {
"r": 171,
"g": 65,
"b": 56
},
"hsl": {
"h": 4.696,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.51941,
"c": 0.14115,
"h": 27.8
},
"luminance": 0.12724
}Semantic roles & 50–950 ramp
primary
#AB4138
secondary
#7DBCC1
accent
#CFDA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150907
muted
#837B7A