#AB2834#AB2834
#AB2834 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.167 H 21.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2834 |
|---|---|
| RGB | rgb(171, 40, 52) |
| HSL | hsl(355, 62%, 41%) |
| HSV | hsv(355, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 69.6%, 32.9%) |
| CIE-LAB | lab(38.60, 52.73, 26.01) |
| CIE-LCH | lch(38.60, 58.79, 26.25°) |
| OKLab | oklab(49.11% 0.1551 0.0605) |
| OKLCH | oklch(49.11% 0.167 21.3) |
| XYZ | xyz(18.1752, 10.4262, 4.3036) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.29
Lipstick Red
#C0022F
ΔE00 3.87
Rouge
#AB1239
ΔE00 4.41
Cardinal
#C41E3A
ΔE00 4.66
Rose Red
#BE013C
ΔE00 4.91
Firebrick
#B22222
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2834 #28AB9F
analogous
#AB2876 #AB2834 #AB5E28
triadic
#AB2834 #34AB28 #2834AB
tetradic
#AB2834 #76AB28 #28AB9F #5E28AB
square
#AB2834 #76AB28 #28AB9F #5E28AB
split-complementary
#AB2834 #28AB5E #2876AB
monochromatic
#481116 #791C25 #AB2834 #D23E4C #DE707A
Accessibility & contrast
On white
6.81
#AB2834 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2834 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2834
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2834 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2834 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4933
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2834; /* rgb */ color: rgb(171, 40, 52); /* oklch */ color: oklch(49.1% 0.167 21.3);
Tailwind
colors: {
custom: {
50: '#cc6e6b',
500: '#ab2834',
950: '#000000',
},
}SCSS
$custom: #ab2834; $custom-light: #cc6e6b; $custom-dark: #000000;
JSON
{
"hex": "#ab2834",
"rgb": {
"r": 171,
"g": 40,
"b": 52
},
"hsl": {
"h": 354.504,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49115,
"c": 0.1665,
"h": 21.3
},
"luminance": 0.10423
}Semantic roles & 50–950 ramp
primary
#AB2834
secondary
#6AC4BC
accent
#E5D643
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A