#AB2939#AB2939
#AB2939 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 19.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2939 |
|---|---|
| RGB | rgb(171, 41, 57) |
| HSL | hsl(353, 61%, 42%) |
| HSV | hsv(353, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 66.7%, 32.9%) |
| CIE-LAB | lab(38.80, 52.67, 23.15) |
| CIE-LCH | lch(38.80, 57.53, 23.73°) |
| OKLab | oklab(49.29% 0.156 0.0548) |
| OKLCH | oklch(49.29% 0.165 19.4) |
| XYZ | xyz(18.3280, 10.5420, 4.9398) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.31
Rose Red
#BE013C
ΔE00 4.04
Lipstick Red
#C0022F
ΔE00 4.40
Cardinal
#C41E3A
ΔE00 4.61
Brown
#A52A2A
ΔE00 4.72
Dull Red
#BB3F3F
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2939 #29AB9B
analogous
#AB297A #AB2939 #AB5A29
triadic
#AB2939 #39AB29 #2939AB
tetradic
#AB2939 #7AAB29 #29AB9B #5A29AB
square
#AB2939 #7AAB29 #29AB9B #5A29AB
split-complementary
#AB2939 #29AB5A #297AAB
monochromatic
#481118 #7A1D29 #AB2939 #D14052 #DD717F
Accessibility & contrast
On white
6.76
#AB2939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2939
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2939 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4A39
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2939; /* rgb */ color: rgb(171, 41, 57); /* oklch */ color: oklch(49.3% 0.165 19.4);
Tailwind
colors: {
custom: {
50: '#cc6e6f',
500: '#ab2939',
950: '#000000',
},
}SCSS
$custom: #ab2939; $custom-light: #cc6e6f; $custom-dark: #000000;
JSON
{
"hex": "#ab2939",
"rgb": {
"r": 171,
"g": 41,
"b": 57
},
"hsl": {
"h": 352.615,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49291,
"c": 0.16536,
"h": 19.4
},
"luminance": 0.10539
}Semantic roles & 50–950 ramp
primary
#AB2939
secondary
#6CC4B9
accent
#E4D143
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A