#AB2642#AB2642
#AB2642 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.168 H 14.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2642 |
|---|---|
| RGB | rgb(171, 38, 66) |
| HSL | hsl(347, 64%, 41%) |
| HSV | hsv(347, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 61.4%, 32.9%) |
| CIE-LAB | lab(38.62, 54.19, 17.25) |
| CIE-LCH | lch(38.62, 56.87, 17.66°) |
| OKLab | oklab(49.22% 0.1627 0.0422) |
| OKLCH | oklch(49.22% 0.168 14.5) |
| XYZ | xyz(18.4730, 10.4402, 6.1957) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.33
Rose Red
#BE013C
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 4.59
Purplish Red
#B0054B
ΔE00 4.88
Cranberry
#9E003A
ΔE00 5.03
Ruby
#CA0147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2642 #26AB8F
analogous
#AB2684 #AB2642 #AB4C26
triadic
#AB2642 #42AB26 #2642AB
tetradic
#AB2642 #84AB26 #26AB8F #4C26AB
square
#AB2642 #84AB26 #26AB8F #4C26AB
split-complementary
#AB2642 #26AB4C #2684AB
monochromatic
#47101B #791B2F #AB2642 #D33B5B #DF6D85
Accessibility & contrast
On white
6.80
#AB2642 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2642 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2642
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2642 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4942
Deuteranopia (green-blind)
#6D653E
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2642; /* rgb */ color: rgb(171, 38, 66); /* oklch */ color: oklch(49.2% 0.168 14.5);
Tailwind
colors: {
custom: {
50: '#cb6d76',
500: '#ab2642',
950: '#000000',
},
}SCSS
$custom: #ab2642; $custom-light: #cb6d76; $custom-dark: #000000;
JSON
{
"hex": "#ab2642",
"rgb": {
"r": 171,
"g": 38,
"b": 66
},
"hsl": {
"h": 347.368,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49215,
"c": 0.16809,
"h": 14.5
},
"luminance": 0.10438
}Semantic roles & 50–950 ramp
primary
#AB2642
secondary
#68C5B1
accent
#E7C441
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B