#AB2741#AB2741
#AB2741 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.167 H 15.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2741 |
|---|---|
| RGB | rgb(171, 39, 65) |
| HSL | hsl(348, 63%, 41%) |
| HSV | hsv(348, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 62%, 32.9%) |
| CIE-LAB | lab(38.71, 53.81, 18.01) |
| CIE-LCH | lch(38.71, 56.74, 18.50°) |
| OKLab | oklab(49.28% 0.1613 0.0439) |
| OKLCH | oklch(49.28% 0.167 15.2) |
| XYZ | xyz(18.4762, 10.4934, 6.0525) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.27
Rose Red
#BE013C
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 5.03
Cranberry
#9E003A
ΔE00 5.30
Purplish Red
#B0054B
ΔE00 5.34
Ruby
#CA0147
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2741 #27AB91
analogous
#AB2783 #AB2741 #AB4F27
triadic
#AB2741 #41AB27 #2741AB
tetradic
#AB2741 #83AB27 #27AB91 #4F27AB
square
#AB2741 #83AB27 #27AB91 #4F27AB
split-complementary
#AB2741 #27AB4F #2783AB
monochromatic
#47101B #791C2E #AB2741 #D33D5A #DE6E84
Accessibility & contrast
On white
6.78
#AB2741 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2741 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2741
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2741 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2741 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A41
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2741; /* rgb */ color: rgb(171, 39, 65); /* oklch */ color: oklch(49.3% 0.167 15.2);
Tailwind
colors: {
custom: {
50: '#cb6d75',
500: '#ab2741',
950: '#000000',
},
}SCSS
$custom: #ab2741; $custom-light: #cb6d75; $custom-dark: #000000;
JSON
{
"hex": "#ab2741",
"rgb": {
"r": 171,
"g": 39,
"b": 65
},
"hsl": {
"h": 348.182,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49277,
"c": 0.16715,
"h": 15.2
},
"luminance": 0.10491
}Semantic roles & 50–950 ramp
primary
#AB2741
secondary
#69C5B3
accent
#E6C642
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B