#AB2841#AB2841
#AB2841 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.166 H 15.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2841 |
|---|---|
| RGB | rgb(171, 40, 65) |
| HSL | hsl(349, 62%, 41%) |
| HSV | hsv(349, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 62%, 32.9%) |
| CIE-LAB | lab(38.83, 53.48, 18.16) |
| CIE-LCH | lch(38.83, 56.48, 18.75°) |
| OKLab | oklab(49.36% 0.1603 0.0442) |
| OKLCH | oklch(49.36% 0.166 15.4) |
| XYZ | xyz(18.5094, 10.5599, 6.0636) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.37
Rose Red
#BE013C
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 5.20
Cranberry
#9E003A
ΔE00 5.46
Ruby
#CA0147
ΔE00 5.47
Purplish Red
#B0054B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2841 #28AB92
analogous
#AB2883 #AB2841 #AB5128
triadic
#AB2841 #41AB28 #2841AB
tetradic
#AB2841 #83AB28 #28AB92 #5128AB
square
#AB2841 #83AB28 #28AB92 #5128AB
split-complementary
#AB2841 #28AB51 #2883AB
monochromatic
#48111B #791C2E #AB2841 #D23E5A #DE7085
Accessibility & contrast
On white
6.75
#AB2841 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2841 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2841
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2841 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4A41
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2841; /* rgb */ color: rgb(171, 40, 65); /* oklch */ color: oklch(49.4% 0.166 15.4);
Tailwind
colors: {
custom: {
50: '#cb6e75',
500: '#ab2841',
950: '#000000',
},
}SCSS
$custom: #ab2841; $custom-light: #cb6e75; $custom-dark: #000000;
JSON
{
"hex": "#ab2841",
"rgb": {
"r": 171,
"g": 40,
"b": 65
},
"hsl": {
"h": 348.55,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49362,
"c": 0.16624,
"h": 15.4
},
"luminance": 0.10557
}Semantic roles & 50–950 ramp
primary
#AB2841
secondary
#6AC4B3
accent
#E5C643
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B