#AB2836#AB2836
#AB2836 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.166 H 20.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2836 |
|---|---|
| RGB | rgb(171, 40, 54) |
| HSL | hsl(354, 62%, 41%) |
| HSV | hsv(354, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 68.4%, 32.9%) |
| CIE-LAB | lab(38.63, 52.83, 24.81) |
| CIE-LCH | lch(38.63, 58.37, 25.15°) |
| OKLab | oklab(49.15% 0.1559 0.0582) |
| OKLCH | oklch(49.15% 0.166 20.5) |
| XYZ | xyz(18.2212, 10.4446, 4.5459) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.86
Brown
#A52A2A
ΔE00 3.91
Lipstick Red
#C0022F
ΔE00 4.02
Rose Red
#BE013C
ΔE00 4.47
Cardinal
#C41E3A
ΔE00 4.59
Firebrick
#B22222
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2836 #28AB9D
analogous
#AB2878 #AB2836 #AB5C28
triadic
#AB2836 #36AB28 #2836AB
tetradic
#AB2836 #78AB28 #28AB9D #5C28AB
square
#AB2836 #78AB28 #28AB9D #5C28AB
split-complementary
#AB2836 #28AB5C #2878AB
monochromatic
#481117 #791C26 #AB2836 #D23E4E #DE707C
Accessibility & contrast
On white
6.80
#AB2836 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2836 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2836
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2836 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2836 | 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)
#4E4935
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2836; /* rgb */ color: rgb(171, 40, 54); /* oklch */ color: oklch(49.1% 0.166 20.5);
Tailwind
colors: {
custom: {
50: '#cc6e6d',
500: '#ab2836',
950: '#000000',
},
}SCSS
$custom: #ab2836; $custom-light: #cc6e6d; $custom-dark: #000000;
JSON
{
"hex": "#ab2836",
"rgb": {
"r": 171,
"g": 40,
"b": 54
},
"hsl": {
"h": 353.588,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49149,
"c": 0.16638,
"h": 20.5
},
"luminance": 0.10442
}Semantic roles & 50–950 ramp
primary
#AB2836
secondary
#6AC4BB
accent
#E5D443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A