#AB2718#AB2718
#AB2718 is a mid, vivid red. Relative luminance 0.102; OKLCH L 48.7% C 0.171 H 30.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2718 |
|---|---|
| RGB | rgb(171, 39, 24) |
| HSL | hsl(6, 75%, 38%) |
| HSV | hsv(6, 86%, 67%) |
| CMYK | cmyk(0%, 77.2%, 86%, 32.9%) |
| CIE-LAB | lab(38.16, 52.01, 41.53) |
| CIE-LCH | lch(38.16, 66.56, 38.61°) |
| OKLab | oklab(48.69% 0.147 0.0865) |
| OKLCH | oklch(48.69% 0.171 30.5) |
| XYZ | xyz(17.6872, 10.1778, 1.8972) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.01
Firebrick
#B22222
ΔE00 3.23
Darkish Red
#A90308
ΔE00 3.25
Brownish Red
#9E3623
ΔE00 3.27
Rust Red
#AA2704
ΔE00 3.76
Rusty Red
#AF2F0D
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2718 #189CAB
analogous
#AB1853 #AB2718 #AB7018
triadic
#AB2718 #18AB27 #2718AB
tetradic
#AB2718 #53AB18 #189CAB #7018AB
square
#AB2718 #53AB18 #189CAB #7018AB
split-complementary
#AB2718 #18AB70 #1853AB
monochromatic
#400F09 #751B10 #AB2718 #E03420 #E76556
Accessibility & contrast
On white
6.92
#AB2718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#AB2718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2718
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2718 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514714
Deuteranopia (green-blind)
#71640F
Tritanopia (blue-blind)
#BD0025
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #ab2718; /* rgb */ color: rgb(171, 39, 24); /* oklch */ color: oklch(48.7% 0.171 30.5);
Tailwind
colors: {
custom: {
50: '#ce6d57',
500: '#ab2718',
950: '#000000',
},
}SCSS
$custom: #ab2718; $custom-light: #ce6d57; $custom-dark: #000000;
JSON
{
"hex": "#ab2718",
"rgb": {
"r": 171,
"g": 39,
"b": 24
},
"hsl": {
"h": 6.122,
"s": 75.385,
"l": 38.235
},
"oklch": {
"l": 0.48688,
"c": 0.17057,
"h": 30.5
},
"luminance": 0.10175
}Semantic roles & 50–950 ramp
primary
#AB2718
secondary
#55BECA
accent
#DFF236
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160803
muted
#847A78