#AB1F40#AB1F40
#AB1F40 is a mid, vivid red. Relative luminance 0.100; OKLCH L 48.6% C 0.174 H 14.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1F40 |
|---|---|
| RGB | rgb(171, 31, 64) |
| HSL | hsl(346, 69%, 40%) |
| HSV | hsv(346, 82%, 67%) |
| CMYK | cmyk(0%, 81.9%, 62.6%, 32.9%) |
| CIE-LAB | lab(37.86, 56.09, 17.51) |
| CIE-LCH | lch(37.86, 58.76, 17.34°) |
| OKLab | oklab(48.64% 0.1685 0.0427) |
| OKLCH | oklch(48.64% 0.174 14.2) |
| XYZ | xyz(18.2119, 10.0108, 5.8228) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.70
Rose Red
#BE013C
ΔE00 3.71
Raspberry (survey)
#B00149
ΔE00 4.15
Cranberry
#9E003A
ΔE00 4.32
Purplish Red
#B0054B
ΔE00 4.51
Ruby
#CA0147
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1F40 #1FAB8A
analogous
#AB1F86 #AB1F40 #AB441F
triadic
#AB1F40 #40AB1F #1F40AB
tetradic
#AB1F40 #86AB1F #1FAB8A #441FAB
square
#AB1F40 #86AB1F #1FAB8A #441FAB
split-complementary
#AB1F40 #1FAB44 #1F86AB
monochromatic
#430C19 #77162D #AB1F40 #D92E56 #E36280
Accessibility & contrast
On white
7.00
#AB1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#AB1F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1F40
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1F40 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#6C633C
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1f40; /* rgb */ color: rgb(171, 31, 64); /* oklch */ color: oklch(48.6% 0.174 14.2);
Tailwind
colors: {
custom: {
50: '#cb6a74',
500: '#ab1f40',
950: '#000000',
},
}SCSS
$custom: #ab1f40; $custom-light: #cb6a74; $custom-dark: #000000;
JSON
{
"hex": "#ab1f40",
"rgb": {
"r": 171,
"g": 31,
"b": 64
},
"hsl": {
"h": 345.857,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.4864,
"c": 0.17378,
"h": 14.2
},
"luminance": 0.10008
}Semantic roles & 50–950 ramp
primary
#AB1F40
secondary
#5EC7AF
accent
#ECC33C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150708
muted
#837A7B