#AB2937#AB2937
#AB2937 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 20.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2937 |
|---|---|
| RGB | rgb(171, 41, 55) |
| HSL | hsl(354, 61%, 42%) |
| HSV | hsv(354, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 67.8%, 32.9%) |
| CIE-LAB | lab(38.76, 52.56, 24.35) |
| CIE-LCH | lch(38.76, 57.92, 24.86°) |
| OKLab | oklab(49.26% 0.1552 0.0573) |
| OKLCH | oklch(49.26% 0.165 20.3) |
| XYZ | xyz(18.2791, 10.5224, 4.6822) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.79
Brown
#A52A2A
ΔE00 4.09
Lipstick Red
#C0022F
ΔE00 4.13
Rose Red
#BE013C
ΔE00 4.39
Cardinal
#C41E3A
ΔE00 4.56
Dull Red
#BB3F3F
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2937 #29AB9D
analogous
#AB2978 #AB2937 #AB5C29
triadic
#AB2937 #37AB29 #2937AB
tetradic
#AB2937 #78AB29 #29AB9D #5C29AB
square
#AB2937 #78AB29 #29AB9D #5C29AB
split-complementary
#AB2937 #29AB5C #2978AB
monochromatic
#481117 #7A1D27 #AB2937 #D14050 #DD717D
Accessibility & contrast
On white
6.77
#AB2937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2937
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2937 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A36
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2937; /* rgb */ color: rgb(171, 41, 55); /* oklch */ color: oklch(49.3% 0.165 20.3);
Tailwind
colors: {
custom: {
50: '#cc6e6d',
500: '#ab2937',
950: '#000000',
},
}SCSS
$custom: #ab2937; $custom-light: #cc6e6d; $custom-dark: #000000;
JSON
{
"hex": "#ab2937",
"rgb": {
"r": 171,
"g": 41,
"b": 55
},
"hsl": {
"h": 353.538,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49255,
"c": 0.16544,
"h": 20.3
},
"luminance": 0.1052
}Semantic roles & 50–950 ramp
primary
#AB2937
secondary
#6CC4BB
accent
#E4D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A