#AB283A#AB283A
#AB283A is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 18.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB283A |
|---|---|
| RGB | rgb(171, 40, 58) |
| HSL | hsl(352, 62%, 41%) |
| HSV | hsv(352, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 66.1%, 32.9%) |
| CIE-LAB | lab(38.70, 53.06, 22.39) |
| CIE-LCH | lch(38.70, 57.59, 22.88°) |
| OKLab | oklab(49.22% 0.1575 0.0533) |
| OKLCH | oklch(49.22% 0.166 18.7) |
| XYZ | xyz(18.3191, 10.4838, 5.0611) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.90
Rose Red
#BE013C
ΔE00 3.80
Lipstick Red
#C0022F
ΔE00 4.61
Cardinal
#C41E3A
ΔE00 4.74
Brown
#A52A2A
ΔE00 5.17
Ruby
#CA0147
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB283A #28AB99
analogous
#AB287C #AB283A #AB5828
triadic
#AB283A #3AAB28 #283AAB
tetradic
#AB283A #7CAB28 #28AB99 #5828AB
square
#AB283A #7CAB28 #28AB99 #5828AB
split-complementary
#AB283A #28AB58 #287CAB
monochromatic
#481118 #791C29 #AB283A #D23E53 #DE707F
Accessibility & contrast
On white
6.78
#AB283A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB283A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB283A
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB283A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB283A | 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)
#4E493A
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab283a; /* rgb */ color: rgb(171, 40, 58); /* oklch */ color: oklch(49.2% 0.166 18.7);
Tailwind
colors: {
custom: {
50: '#cc6e70',
500: '#ab283a',
950: '#000000',
},
}SCSS
$custom: #ab283a; $custom-light: #cc6e70; $custom-dark: #000000;
JSON
{
"hex": "#ab283a",
"rgb": {
"r": 171,
"g": 40,
"b": 58
},
"hsl": {
"h": 351.756,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49222,
"c": 0.16622,
"h": 18.7
},
"luminance": 0.10481
}Semantic roles & 50–950 ramp
primary
#AB283A
secondary
#6AC4B8
accent
#E5CF43
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A