#AB2E27#AB2E27
#AB2E27 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.163 H 27.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E27 |
|---|---|
| RGB | rgb(171, 46, 39) |
| HSL | hsl(3, 63%, 41%) |
| HSV | hsv(3, 77%, 67%) |
| CMYK | cmyk(0%, 73.1%, 77.2%, 32.9%) |
| CIE-LAB | lab(39.18, 50.05, 34.45) |
| CIE-LCH | lch(39.18, 60.76, 34.54°) |
| OKLab | oklab(49.49% 0.1438 0.0762) |
| OKLCH | oklch(49.49% 0.163 27.9) |
| XYZ | xyz(18.1399, 10.7612, 3.0410) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.75
Brown
#A52A2A
ΔE00 2.40
Brick
#A03623
ΔE00 3.39
Brownish Red
#9E3623
ΔE00 3.61
Scarlet
#BE0119
ΔE00 4.19
Darkish Red
#A90308
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E27 #27A4AB
analogous
#AB2762 #AB2E27 #AB7027
triadic
#AB2E27 #27AB2E #2E27AB
tetradic
#AB2E27 #62AB27 #27A4AB #7027AB
square
#AB2E27 #62AB27 #27A4AB #7027AB
split-complementary
#AB2E27 #27AB70 #2762AB
monochromatic
#471310 #79211C #AB2E27 #D3453D #DE746E
Accessibility & contrast
On white
6.66
#AB2E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB2E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E27
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E27 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2e27; /* rgb */ color: rgb(171, 46, 39); /* oklch */ color: oklch(49.5% 0.163 27.9);
Tailwind
colors: {
custom: {
50: '#cd7062',
500: '#ab2e27',
950: '#000000',
},
}SCSS
$custom: #ab2e27; $custom-light: #cd7062; $custom-dark: #000000;
JSON
{
"hex": "#ab2e27",
"rgb": {
"r": 171,
"g": 46,
"b": 39
},
"hsl": {
"h": 3.182,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.4949,
"c": 0.16273,
"h": 27.9
},
"luminance": 0.10758
}Semantic roles & 50–950 ramp
primary
#AB2E27
secondary
#69C0C5
accent
#DDE642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79