#AB2640#AB2640
#AB2640 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.168 H 15.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2640 |
|---|---|
| RGB | rgb(171, 38, 64) |
| HSL | hsl(348, 64%, 41%) |
| HSV | hsv(348, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 62.6%, 32.9%) |
| CIE-LAB | lab(38.58, 54.06, 18.46) |
| CIE-LCH | lch(38.58, 57.13, 18.86°) |
| OKLab | oklab(49.17% 0.1619 0.0449) |
| OKLCH | oklch(49.17% 0.168 15.5) |
| XYZ | xyz(18.4150, 10.4171, 5.8905) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.09
Rose Red
#BE013C
ΔE00 3.57
Raspberry (survey)
#B00149
ΔE00 5.16
Cranberry
#9E003A
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.47
Ruby
#CA0147
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2640 #26AB91
analogous
#AB2682 #AB2640 #AB4F26
triadic
#AB2640 #40AB26 #2640AB
tetradic
#AB2640 #82AB26 #26AB91 #4F26AB
square
#AB2640 #82AB26 #26AB91 #4F26AB
split-complementary
#AB2640 #26AB4F #2682AB
monochromatic
#47101B #791B2D #AB2640 #D33B59 #DF6D83
Accessibility & contrast
On white
6.81
#AB2640 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2640 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2640
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2640 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2640; /* rgb */ color: rgb(171, 38, 64); /* oklch */ color: oklch(49.2% 0.168 15.5);
Tailwind
colors: {
custom: {
50: '#cb6d74',
500: '#ab2640',
950: '#000000',
},
}SCSS
$custom: #ab2640; $custom-light: #cb6d74; $custom-dark: #000000;
JSON
{
"hex": "#ab2640",
"rgb": {
"r": 171,
"g": 38,
"b": 64
},
"hsl": {
"h": 348.271,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49172,
"c": 0.16801,
"h": 15.5
},
"luminance": 0.10414
}Semantic roles & 50–950 ramp
primary
#AB2640
secondary
#68C5B3
accent
#E7C641
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B