#AB2837#AB2837
#AB2837 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 20.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2837 |
|---|---|
| RGB | rgb(171, 40, 55) |
| HSL | hsl(353, 62%, 41%) |
| HSV | hsv(353, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 67.8%, 32.9%) |
| CIE-LAB | lab(38.65, 52.89, 24.20) |
| CIE-LCH | lch(38.65, 58.16, 24.59°) |
| OKLab | oklab(49.17% 0.1563 0.057) |
| OKLCH | oklch(49.17% 0.166 20) |
| XYZ | xyz(18.2450, 10.4541, 4.6708) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.60
Lipstick Red
#C0022F
ΔE00 4.14
Brown
#A52A2A
ΔE00 4.22
Rose Red
#BE013C
ΔE00 4.27
Cardinal
#C41E3A
ΔE00 4.59
Dull Red
#BB3F3F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2837 #28AB9C
analogous
#AB2879 #AB2837 #AB5B28
triadic
#AB2837 #37AB28 #2837AB
tetradic
#AB2837 #79AB28 #28AB9C #5B28AB
square
#AB2837 #79AB28 #28AB9C #5B28AB
split-complementary
#AB2837 #28AB5B #2879AB
monochromatic
#481117 #791C27 #AB2837 #D23E4F #DE707C
Accessibility & contrast
On white
6.80
#AB2837 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2837 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2837
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2837 | 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)
#4E4937
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2837; /* rgb */ color: rgb(171, 40, 55); /* oklch */ color: oklch(49.2% 0.166 20.0);
Tailwind
colors: {
custom: {
50: '#cc6e6d',
500: '#ab2837',
950: '#000000',
},
}SCSS
$custom: #ab2837; $custom-light: #cc6e6d; $custom-dark: #000000;
JSON
{
"hex": "#ab2837",
"rgb": {
"r": 171,
"g": 40,
"b": 55
},
"hsl": {
"h": 353.13,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49167,
"c": 0.16633,
"h": 20
},
"luminance": 0.10451
}Semantic roles & 50–950 ramp
primary
#AB2837
secondary
#6AC4BA
accent
#E5D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A