#AB2745#AB2745
#AB2745 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.167 H 13.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2745 |
|---|---|
| RGB | rgb(171, 39, 69) |
| HSL | hsl(346, 63%, 41%) |
| HSV | hsv(346, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 59.6%, 32.9%) |
| CIE-LAB | lab(38.80, 54.07, 15.58) |
| CIE-LCH | lch(38.80, 56.27, 16.07°) |
| OKLab | oklab(49.36% 0.1629 0.0385) |
| OKLCH | oklch(49.36% 0.167 13.3) |
| XYZ | xyz(18.5962, 10.5414, 6.6846) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.96
Raspberry (survey)
#B00149
ΔE00 3.97
Purplish Red
#B0054B
ΔE00 4.21
Rose Red
#BE013C
ΔE00 4.26
Cranberry
#9E003A
ΔE00 4.95
Ruby
#CA0147
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2745 #27AB8D
analogous
#AB2787 #AB2745 #AB4B27
triadic
#AB2745 #45AB27 #2745AB
tetradic
#AB2745 #87AB27 #27AB8D #4B27AB
square
#AB2745 #87AB27 #27AB8D #4B27AB
split-complementary
#AB2745 #27AB4B #2787AB
monochromatic
#47101D #791C31 #AB2745 #D33D5F #DE6E88
Accessibility & contrast
On white
6.76
#AB2745 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2745 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2745
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2745 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2745 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4A45
Deuteranopia (green-blind)
#6D6542
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2745; /* rgb */ color: rgb(171, 39, 69); /* oklch */ color: oklch(49.4% 0.167 13.3);
Tailwind
colors: {
custom: {
50: '#cb6e78',
500: '#ab2745',
950: '#000000',
},
}SCSS
$custom: #ab2745; $custom-light: #cb6e78; $custom-dark: #000000;
JSON
{
"hex": "#ab2745",
"rgb": {
"r": 171,
"g": 39,
"b": 69
},
"hsl": {
"h": 346.364,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49365,
"c": 0.16737,
"h": 13.3
},
"luminance": 0.10539
}Semantic roles & 50–950 ramp
primary
#AB2745
secondary
#69C5B0
accent
#E6C142
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B