#AB2832#AB2832
#AB2832 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.167 H 22.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2832 |
|---|---|
| RGB | rgb(171, 40, 50) |
| HSL | hsl(355, 62%, 41%) |
| HSV | hsv(355, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 70.8%, 32.9%) |
| CIE-LAB | lab(38.57, 52.63, 27.20) |
| CIE-LCH | lch(38.57, 59.24, 27.33°) |
| OKLab | oklab(49.08% 0.1543 0.0628) |
| OKLCH | oklch(49.08% 0.167 22.2) |
| XYZ | xyz(18.1311, 10.4086, 4.0714) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.70
Lipstick Red
#C0022F
ΔE00 3.84
Firebrick
#B22222
ΔE00 4.68
Cardinal
#C41E3A
ΔE00 4.82
Rouge
#AB1239
ΔE00 4.98
Rose Red
#BE013C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2832 #28ABA1
analogous
#AB2874 #AB2832 #AB6028
triadic
#AB2832 #32AB28 #2832AB
tetradic
#AB2832 #74AB28 #28ABA1 #6028AB
square
#AB2832 #74AB28 #28ABA1 #6028AB
split-complementary
#AB2832 #28AB60 #2874AB
monochromatic
#481115 #791C23 #AB2832 #D23E4A #DE7078
Accessibility & contrast
On white
6.82
#AB2832 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2832 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2832
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2832 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2832 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4931
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2832; /* rgb */ color: rgb(171, 40, 50); /* oklch */ color: oklch(49.1% 0.167 22.2);
Tailwind
colors: {
custom: {
50: '#cc6d6a',
500: '#ab2832',
950: '#000000',
},
}SCSS
$custom: #ab2832; $custom-light: #cc6d6a; $custom-dark: #000000;
JSON
{
"hex": "#ab2832",
"rgb": {
"r": 171,
"g": 40,
"b": 50
},
"hsl": {
"h": 355.42,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49082,
"c": 0.16665,
"h": 22.2
},
"luminance": 0.10406
}Semantic roles & 50–950 ramp
primary
#AB2832
secondary
#6AC4BE
accent
#E5D943
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A