#AB4227#AB4227
#AB4227 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.8% C 0.144 H 35.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4227 |
|---|---|
| RGB | rgb(171, 66, 39) |
| HSL | hsl(12, 63%, 41%) |
| HSV | hsv(12, 77%, 67%) |
| CMYK | cmyk(0%, 61.4%, 77.2%, 32.9%) |
| CIE-LAB | lab(42.31, 41.57, 37.78) |
| CIE-LCH | lch(42.31, 56.17, 42.26°) |
| OKLab | oklab(51.85% 0.1174 0.0835) |
| OKLCH | oklch(51.85% 0.144 35.4) |
| XYZ | xyz(19.1110, 12.7035, 3.3647) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.01
Rusty Red
#AF2F0D
ΔE00 4.18
Brownish Red
#9E3623
ΔE00 4.29
Rust (survey)
#A83C09
ΔE00 5.26
Rust
#B7410E
ΔE00 5.35
Rust Red
#AA2704
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4227 #2790AB
analogous
#AB274E #AB4227 #AB8427
triadic
#AB4227 #27AB42 #4227AB
tetradic
#AB4227 #4EAB27 #2790AB #8427AB
square
#AB4227 #4EAB27 #2790AB #8427AB
split-complementary
#AB4227 #27AB84 #274EAB
monochromatic
#471C10 #792F1C #AB4227 #D35B3D #DE856E
Accessibility & contrast
On white
5.93
#AB4227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#AB4227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4227
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4227 | 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)
#5F5523
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#BC293C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab4227; /* rgb */ color: rgb(171, 66, 39); /* oklch */ color: oklch(51.8% 0.144 35.4);
Tailwind
colors: {
custom: {
50: '#cc7a63',
500: '#ab4227',
950: '#000000',
},
}SCSS
$custom: #ab4227; $custom-light: #cc7a63; $custom-dark: #000000;
JSON
{
"hex": "#ab4227",
"rgb": {
"r": 171,
"g": 66,
"b": 39
},
"hsl": {
"h": 12.273,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.51846,
"c": 0.144,
"h": 35.4
},
"luminance": 0.12701
}Semantic roles & 50–950 ramp
primary
#AB4227
secondary
#69B2C5
accent
#C4E642
background
#FDF7F5
surface
#FBEEEA
border
#D4C9C6
text
#150905
muted
#837B79