#AB2838#AB2838
#AB2838 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 19.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2838 |
|---|---|
| RGB | rgb(171, 40, 56) |
| HSL | hsl(353, 62%, 41%) |
| HSV | hsv(353, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 67.3%, 32.9%) |
| CIE-LAB | lab(38.66, 52.94, 23.60) |
| CIE-LCH | lch(38.66, 57.97, 24.03°) |
| OKLab | oklab(49.19% 0.1567 0.0557) |
| OKLCH | oklch(49.19% 0.166 19.6) |
| XYZ | xyz(18.2692, 10.4638, 4.7984) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.35
Rose Red
#BE013C
ΔE00 4.09
Lipstick Red
#C0022F
ΔE00 4.28
Brown
#A52A2A
ΔE00 4.54
Cardinal
#C41E3A
ΔE00 4.62
Dull Red
#BB3F3F
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2838 #28AB9B
analogous
#AB287A #AB2838 #AB5A28
triadic
#AB2838 #38AB28 #2838AB
tetradic
#AB2838 #7AAB28 #28AB9B #5A28AB
square
#AB2838 #7AAB28 #28AB9B #5A28AB
split-complementary
#AB2838 #28AB5A #287AAB
monochromatic
#481118 #791C28 #AB2838 #D23E50 #DE707D
Accessibility & contrast
On white
6.79
#AB2838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2838
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2838 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4938
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2838; /* rgb */ color: rgb(171, 40, 56); /* oklch */ color: oklch(49.2% 0.166 19.6);
Tailwind
colors: {
custom: {
50: '#cc6e6e',
500: '#ab2838',
950: '#000000',
},
}SCSS
$custom: #ab2838; $custom-light: #cc6e6e; $custom-dark: #000000;
JSON
{
"hex": "#ab2838",
"rgb": {
"r": 171,
"g": 40,
"b": 56
},
"hsl": {
"h": 352.672,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49185,
"c": 0.16629,
"h": 19.6
},
"luminance": 0.10461
}Semantic roles & 50–950 ramp
primary
#AB2838
secondary
#6AC4B9
accent
#E5D143
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A