#AB4228#AB4228
#AB4228 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.9% C 0.144 H 35.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4228 |
|---|---|
| RGB | rgb(171, 66, 40) |
| HSL | hsl(12, 62%, 41%) |
| HSV | hsv(12, 77%, 67%) |
| CMYK | cmyk(0%, 61.4%, 76.6%, 32.9%) |
| CIE-LAB | lab(42.32, 41.61, 37.25) |
| CIE-LCH | lch(42.32, 55.85, 41.83°) |
| OKLab | oklab(51.86% 0.1177 0.0826) |
| OKLCH | oklch(51.86% 0.144 35.1) |
| XYZ | xyz(19.1278, 12.7102, 3.4532) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.91
Brownish Red
#9E3623
ΔE00 4.19
Rusty Red
#AF2F0D
ΔE00 4.33
Rust (survey)
#A83C09
ΔE00 5.53
Rust
#B7410E
ΔE00 5.60
Rust Red
#AA2704
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4228 #2891AB
analogous
#AB2850 #AB4228 #AB8428
triadic
#AB4228 #28AB42 #4228AB
tetradic
#AB4228 #50AB28 #2891AB #8428AB
square
#AB4228 #50AB28 #2891AB #8428AB
split-complementary
#AB4228 #28AB84 #2850AB
monochromatic
#481C11 #792F1C #AB4228 #D25C3E #DE8670
Accessibility & contrast
On white
5.93
#AB4228 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#AB4228 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4228
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4228 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5525
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#BC293D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab4228; /* rgb */ color: rgb(171, 66, 40); /* oklch */ color: oklch(51.9% 0.144 35.1);
Tailwind
colors: {
custom: {
50: '#cb7a63',
500: '#ab4228',
950: '#000000',
},
}SCSS
$custom: #ab4228; $custom-light: #cb7a63; $custom-dark: #000000;
JSON
{
"hex": "#ab4228",
"rgb": {
"r": 171,
"g": 66,
"b": 40
},
"hsl": {
"h": 11.908,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.51857,
"c": 0.14375,
"h": 35.1
},
"luminance": 0.12708
}Semantic roles & 50–950 ramp
primary
#AB4228
secondary
#6AB3C4
accent
#C5E543
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150905
muted
#837B7A