#AB2742#AB2742
#AB2742 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.167 H 14.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2742 |
|---|---|
| RGB | rgb(171, 39, 66) |
| HSL | hsl(348, 63%, 41%) |
| HSV | hsv(348, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 61.4%, 32.9%) |
| CIE-LAB | lab(38.73, 53.87, 17.40) |
| CIE-LCH | lch(38.73, 56.61, 17.90°) |
| OKLab | oklab(49.3% 0.1617 0.0425) |
| OKLCH | oklch(49.3% 0.167 14.7) |
| XYZ | xyz(18.5054, 10.5050, 6.2065) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.39
Rose Red
#BE013C
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 4.75
Purplish Red
#B0054B
ΔE00 5.04
Cranberry
#9E003A
ΔE00 5.18
Ruby
#CA0147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2742 #27AB90
analogous
#AB2784 #AB2742 #AB4E27
triadic
#AB2742 #42AB27 #2742AB
tetradic
#AB2742 #84AB27 #27AB90 #4E27AB
square
#AB2742 #84AB27 #27AB90 #4E27AB
split-complementary
#AB2742 #27AB4E #2784AB
monochromatic
#47101C #791C2F #AB2742 #D33D5B #DE6E85
Accessibility & contrast
On white
6.77
#AB2742 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2742 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2742
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2742 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 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: #ab2742; /* rgb */ color: rgb(171, 39, 66); /* oklch */ color: oklch(49.3% 0.167 14.7);
Tailwind
colors: {
custom: {
50: '#cb6d76',
500: '#ab2742',
950: '#000000',
},
}SCSS
$custom: #ab2742; $custom-light: #cb6d76; $custom-dark: #000000;
JSON
{
"hex": "#ab2742",
"rgb": {
"r": 171,
"g": 39,
"b": 66
},
"hsl": {
"h": 347.727,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49298,
"c": 0.16719,
"h": 14.7
},
"luminance": 0.10502
}Semantic roles & 50–950 ramp
primary
#AB2742
secondary
#69C5B2
accent
#E6C442
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B