#AB2940#AB2940
#AB2940 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.165 H 16.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2940 |
|---|---|
| RGB | rgb(171, 41, 64) |
| HSL | hsl(349, 61%, 42%) |
| HSV | hsv(349, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 62.6%, 32.9%) |
| CIE-LAB | lab(38.93, 53.09, 18.92) |
| CIE-LCH | lch(38.93, 56.36, 19.61°) |
| OKLab | oklab(49.43% 0.1588 0.0459) |
| OKLCH | oklch(49.43% 0.165 16.1) |
| XYZ | xyz(18.5149, 10.6167, 5.9238) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.44
Rose Red
#BE013C
ΔE00 3.63
Cardinal
#C41E3A
ΔE00 5.49
Ruby
#CA0147
ΔE00 5.56
Raspberry (survey)
#B00149
ΔE00 5.67
Cranberry
#9E003A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2940 #29AB94
analogous
#AB2981 #AB2940 #AB5329
triadic
#AB2940 #40AB29 #2940AB
tetradic
#AB2940 #81AB29 #29AB94 #5329AB
square
#AB2940 #81AB29 #29AB94 #5329AB
split-complementary
#AB2940 #29AB53 #2981AB
monochromatic
#48111B #7A1D2E #AB2940 #D1405A #DD7184
Accessibility & contrast
On white
6.72
#AB2940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2940
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2940 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2940; /* rgb */ color: rgb(171, 41, 64); /* oklch */ color: oklch(49.4% 0.165 16.1);
Tailwind
colors: {
custom: {
50: '#cb6e74',
500: '#ab2940',
950: '#000000',
},
}SCSS
$custom: #ab2940; $custom-light: #cb6e74; $custom-dark: #000000;
JSON
{
"hex": "#ab2940",
"rgb": {
"r": 171,
"g": 41,
"b": 64
},
"hsl": {
"h": 349.385,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49428,
"c": 0.16528,
"h": 16.1
},
"luminance": 0.10614
}Semantic roles & 50–950 ramp
primary
#AB2940
secondary
#6CC4B4
accent
#E4C843
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B