#AB2928#AB2928
#AB2928 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 26.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2928 |
|---|---|
| RGB | rgb(171, 41, 40) |
| HSL | hsl(0, 62%, 41%) |
| HSV | hsv(0, 77%, 67%) |
| CMYK | cmyk(0%, 76%, 76.6%, 32.9%) |
| CIE-LAB | lab(38.55, 51.85, 33.19) |
| CIE-LCH | lch(38.55, 61.57, 32.62°) |
| OKLab | oklab(49.03% 0.1497 0.0738) |
| OKLCH | oklch(49.03% 0.167 26.2) |
| XYZ | xyz(17.9726, 10.3998, 3.0681) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.40
Firebrick
#B22222
ΔE00 1.79
Scarlet
#BE0119
ΔE00 4.21
Brick
#A03623
ΔE00 4.46
Brownish Red
#9E3623
ΔE00 4.62
Lipstick Red
#C0022F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2928 #28AAAB
analogous
#AB2869 #AB2928 #AB6B28
triadic
#AB2928 #28AB29 #2928AB
tetradic
#AB2928 #69AB28 #28AAAB #6B28AB
square
#AB2928 #69AB28 #28AAAB #6B28AB
split-complementary
#AB2928 #28AB6B #2869AB
monochromatic
#481111 #791D1C #AB2928 #D23F3E #DE7170
Accessibility & contrast
On white
6.82
#AB2928 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2928 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2928
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2928 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504926
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#BC002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2928; /* rgb */ color: rgb(171, 41, 40); /* oklch */ color: oklch(49.0% 0.167 26.2);
Tailwind
colors: {
custom: {
50: '#cd6e62',
500: '#ab2928',
950: '#000000',
},
}SCSS
$custom: #ab2928; $custom-light: #cd6e62; $custom-dark: #000000;
JSON
{
"hex": "#ab2928",
"rgb": {
"r": 171,
"g": 41,
"b": 40
},
"hsl": {
"h": 0.458,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49028,
"c": 0.16686,
"h": 26.2
},
"luminance": 0.10397
}Semantic roles & 50–950 ramp
primary
#AB2928
secondary
#6AC4C4
accent
#E4E543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79