#AB2842#AB2842
#AB2842 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.166 H 14.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2842 |
|---|---|
| RGB | rgb(171, 40, 66) |
| HSL | hsl(348, 62%, 41%) |
| HSV | hsv(348, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 61.4%, 32.9%) |
| CIE-LAB | lab(38.85, 53.55, 17.55) |
| CIE-LCH | lch(38.85, 56.35, 18.15°) |
| OKLab | oklab(49.38% 0.1606 0.0429) |
| OKLCH | oklch(49.38% 0.166 14.9) |
| XYZ | xyz(18.5387, 10.5716, 6.2176) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.47
Rose Red
#BE013C
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 4.93
Purplish Red
#B0054B
ΔE00 5.21
Cranberry
#9E003A
ΔE00 5.34
Ruby
#CA0147
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2842 #28AB91
analogous
#AB2884 #AB2842 #AB5028
triadic
#AB2842 #42AB28 #2842AB
tetradic
#AB2842 #84AB28 #28AB91 #5028AB
square
#AB2842 #84AB28 #28AB91 #5028AB
split-complementary
#AB2842 #28AB50 #2884AB
monochromatic
#48111C #791C2F #AB2842 #D23E5C #DE7086
Accessibility & contrast
On white
6.74
#AB2842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2842 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2842
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2842 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2842; /* rgb */ color: rgb(171, 40, 66); /* oklch */ color: oklch(49.4% 0.166 14.9);
Tailwind
colors: {
custom: {
50: '#cb6e76',
500: '#ab2842',
950: '#000000',
},
}SCSS
$custom: #ab2842; $custom-light: #cb6e76; $custom-dark: #000000;
JSON
{
"hex": "#ab2842",
"rgb": {
"r": 171,
"g": 40,
"b": 66
},
"hsl": {
"h": 348.092,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49384,
"c": 0.16628,
"h": 14.9
},
"luminance": 0.10569
}Semantic roles & 50–950 ramp
primary
#AB2842
secondary
#6AC4B3
accent
#E5C543
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B