#AB2934#AB2934
#AB2934 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 21.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2934 |
|---|---|
| RGB | rgb(171, 41, 52) |
| HSL | hsl(355, 61%, 42%) |
| HSV | hsv(355, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 69.6%, 32.9%) |
| CIE-LAB | lab(38.72, 52.40, 26.15) |
| CIE-LCH | lch(38.72, 58.56, 26.52°) |
| OKLab | oklab(49.2% 0.1541 0.0608) |
| OKLCH | oklch(49.2% 0.166 21.6) |
| XYZ | xyz(18.2094, 10.4945, 4.3150) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.17
Lipstick Red
#C0022F
ΔE00 3.90
Rouge
#AB1239
ΔE00 4.60
Cardinal
#C41E3A
ΔE00 4.66
Rose Red
#BE013C
ΔE00 5.04
Firebrick
#B22222
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2934 #29ABA0
analogous
#AB2975 #AB2934 #AB5F29
triadic
#AB2934 #34AB29 #2934AB
tetradic
#AB2934 #75AB29 #29ABA0 #5F29AB
square
#AB2934 #75AB29 #29ABA0 #5F29AB
split-complementary
#AB2934 #29AB5F #2975AB
monochromatic
#481116 #7A1D25 #AB2934 #D1404C #DD717A
Accessibility & contrast
On white
6.78
#AB2934 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2934 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2934
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2934 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2934 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4933
Deuteranopia (green-blind)
#706530
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2934; /* rgb */ color: rgb(171, 41, 52); /* oklch */ color: oklch(49.2% 0.166 21.6);
Tailwind
colors: {
custom: {
50: '#cc6e6b',
500: '#ab2934',
950: '#000000',
},
}SCSS
$custom: #ab2934; $custom-light: #cc6e6b; $custom-dark: #000000;
JSON
{
"hex": "#ab2934",
"rgb": {
"r": 171,
"g": 41,
"b": 52
},
"hsl": {
"h": 354.923,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49203,
"c": 0.16563,
"h": 21.6
},
"luminance": 0.10492
}Semantic roles & 50–950 ramp
primary
#AB2934
secondary
#6CC4BD
accent
#E4D743
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A