#AB4238#AB4238
#AB4238 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.1% C 0.140 H 28.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4238 |
|---|---|
| RGB | rgb(171, 66, 56) |
| HSL | hsl(5, 51%, 45%) |
| HSV | hsv(5, 67%, 67%) |
| CMYK | cmyk(0%, 61.4%, 67.3%, 32.9%) |
| CIE-LAB | lab(42.52, 42.42, 28.37) |
| CIE-LCH | lch(42.52, 51.03, 33.77°) |
| OKLab | oklab(52.07% 0.1234 0.0664) |
| OKLCH | oklch(52.07% 0.14 28.3) |
| XYZ | xyz(19.4585, 12.8425, 5.1948) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.87
Brown
#A52A2A
ΔE00 5.04
Brick
#A03623
ΔE00 5.13
Reddish
#C44240
ΔE00 5.30
Brownish Red
#9E3623
ΔE00 5.33
Firebrick
#B22222
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4238 #38A1AB
analogous
#AB3868 #AB4238 #AB7B38
triadic
#AB4238 #38AB42 #4238AB
tetradic
#AB4238 #68AB38 #38A1AB #7B38AB
square
#AB4238 #68AB38 #38A1AB #7B38AB
split-complementary
#AB4238 #38AB7B #3868AB
monochromatic
#4F1E1A #7D3029 #AB4238 #C86258 #D78D86
Accessibility & contrast
On white
5.89
#AB4238 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#AB4238 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4238
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4238 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5636
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#BC2B40
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab4238; /* rgb */ color: rgb(171, 66, 56); /* oklch */ color: oklch(52.1% 0.140 28.3);
Tailwind
colors: {
custom: {
50: '#ca7b6f',
500: '#ab4238',
950: '#000000',
},
}SCSS
$custom: #ab4238; $custom-light: #ca7b6f; $custom-dark: #000000;
JSON
{
"hex": "#ab4238",
"rgb": {
"r": 171,
"g": 66,
"b": 56
},
"hsl": {
"h": 5.217,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.52074,
"c": 0.14008,
"h": 28.3
},
"luminance": 0.1284
}Semantic roles & 50–950 ramp
primary
#AB4238
secondary
#7DBBC1
accent
#CEDA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A