#AB2927#AB2927
#AB2927 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 26.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2927 |
|---|---|
| RGB | rgb(171, 41, 39) |
| HSL | hsl(1, 63%, 41%) |
| HSV | hsv(1, 77%, 67%) |
| CMYK | cmyk(0%, 76%, 77.2%, 32.9%) |
| CIE-LAB | lab(38.54, 51.82, 33.76) |
| CIE-LCH | lch(38.54, 61.84, 33.09°) |
| OKLab | oklab(49.02% 0.1493 0.0747) |
| OKLCH | oklch(49.02% 0.167 26.6) |
| XYZ | xyz(17.9559, 10.3931, 2.9797) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.59
Firebrick
#B22222
ΔE00 1.61
Scarlet
#BE0119
ΔE00 4.08
Brick
#A03623
ΔE00 4.24
Brownish Red
#9E3623
ΔE00 4.40
Carmine
#9D0216
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2927 #27A9AB
analogous
#AB2767 #AB2927 #AB6B27
triadic
#AB2927 #27AB29 #2927AB
tetradic
#AB2927 #67AB27 #27A9AB #6B27AB
square
#AB2927 #67AB27 #27A9AB #6B27AB
split-complementary
#AB2927 #27AB6B #2767AB
monochromatic
#471110 #791D1C #AB2927 #D33F3D #DE706E
Accessibility & contrast
On white
6.82
#AB2927 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2927 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2927
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2927 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2927 | 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)
#504925
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#BD002A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2927; /* rgb */ color: rgb(171, 41, 39); /* oklch */ color: oklch(49.0% 0.167 26.6);
Tailwind
colors: {
custom: {
50: '#cd6e62',
500: '#ab2927',
950: '#000000',
},
}SCSS
$custom: #ab2927; $custom-light: #cd6e62; $custom-dark: #000000;
JSON
{
"hex": "#ab2927",
"rgb": {
"r": 171,
"g": 41,
"b": 39
},
"hsl": {
"h": 0.909,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49015,
"c": 0.16699,
"h": 26.6
},
"luminance": 0.1039
}Semantic roles & 50–950 ramp
primary
#AB2927
secondary
#69C3C5
accent
#E3E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79