#AB2830#AB2830
#AB2830 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.167 H 23.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2830 |
|---|---|
| RGB | rgb(171, 40, 48) |
| HSL | hsl(356, 62%, 41%) |
| HSV | hsv(356, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 71.9%, 32.9%) |
| CIE-LAB | lab(38.54, 52.53, 28.39) |
| CIE-LCH | lch(38.54, 59.71, 28.39°) |
| OKLab | oklab(49.05% 0.1536 0.0651) |
| OKLCH | oklch(49.05% 0.167 23) |
| XYZ | xyz(18.0889, 10.3917, 3.8491) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.14
Lipstick Red
#C0022F
ΔE00 3.91
Firebrick
#B22222
ΔE00 4.07
Cardinal
#C41E3A
ΔE00 5.06
Rouge
#AB1239
ΔE00 5.57
Dull Red
#BB3F3F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2830 #28ABA3
analogous
#AB2872 #AB2830 #AB6228
triadic
#AB2830 #30AB28 #2830AB
tetradic
#AB2830 #72AB28 #28ABA3 #6228AB
square
#AB2830 #72AB28 #28ABA3 #6228AB
split-complementary
#AB2830 #28AB62 #2872AB
monochromatic
#481114 #791C22 #AB2830 #D23E47 #DE7077
Accessibility & contrast
On white
6.82
#AB2830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2830
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2830 | 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)
#4F492F
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2830; /* rgb */ color: rgb(171, 40, 48); /* oklch */ color: oklch(49.1% 0.167 23.0);
Tailwind
colors: {
custom: {
50: '#cc6d68',
500: '#ab2830',
950: '#000000',
},
}SCSS
$custom: #ab2830; $custom-light: #cc6d68; $custom-dark: #000000;
JSON
{
"hex": "#ab2830",
"rgb": {
"r": 171,
"g": 40,
"b": 48
},
"hsl": {
"h": 356.336,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49051,
"c": 0.16682,
"h": 23
},
"luminance": 0.10389
}Semantic roles & 50–950 ramp
primary
#AB2830
secondary
#6AC4BF
accent
#E5DB43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A