#AB2E30#AB2E30
#AB2E30 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.162 H 24.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E30 |
|---|---|
| RGB | rgb(171, 46, 48) |
| HSL | hsl(359, 58%, 43%) |
| HSV | hsv(359, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 71.9%, 32.9%) |
| CIE-LAB | lab(39.29, 50.44, 29.28) |
| CIE-LCH | lch(39.29, 58.32, 30.13°) |
| OKLab | oklab(49.61% 0.147 0.067) |
| OKLCH | oklch(49.61% 0.162 24.5) |
| XYZ | xyz(18.3071, 10.8281, 3.9218) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.75
Firebrick
#B22222
ΔE00 3.38
Lipstick Red
#C0022F
ΔE00 4.53
Dull Red
#BB3F3F
ΔE00 5.15
Cardinal
#C41E3A
ΔE00 5.44
Scarlet
#BE0119
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E30 #2EABA9
analogous
#AB2E6E #AB2E30 #AB6A2E
triadic
#AB2E30 #30AB2E #2E30AB
tetradic
#AB2E30 #6EAB2E #2EABA9 #6A2EAB
square
#AB2E30 #6EAB2E #2EABA9 #6A2EAB
split-complementary
#AB2E30 #2EAB6A #2E6EAB
monochromatic
#4B1415 #7B2122 #AB2E30 #CE484A #DB797A
Accessibility & contrast
On white
6.64
#AB2E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E30
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E30 | 1.00 | 6.64 | 3.17 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e30; /* rgb */ color: rgb(171, 46, 48); /* oklch */ color: oklch(49.6% 0.162 24.5);
Tailwind
colors: {
custom: {
50: '#cc7068',
500: '#ab2e30',
950: '#000000',
},
}SCSS
$custom: #ab2e30; $custom-light: #cc7068; $custom-dark: #000000;
JSON
{
"hex": "#ab2e30",
"rgb": {
"r": 171,
"g": 46,
"b": 48
},
"hsl": {
"h": 359.04,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.49611,
"c": 0.16152,
"h": 24.5
},
"luminance": 0.10825
}Semantic roles & 50–950 ramp
primary
#AB2E30
secondary
#72C3C2
accent
#E1DE47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A