#AB2938#AB2938
#AB2938 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 19.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2938 |
|---|---|
| RGB | rgb(171, 41, 56) |
| HSL | hsl(353, 61%, 42%) |
| HSV | hsv(353, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 67.3%, 32.9%) |
| CIE-LAB | lab(38.78, 52.61, 23.75) |
| CIE-LCH | lch(38.78, 57.72, 24.30°) |
| OKLab | oklab(49.27% 0.1556 0.0561) |
| OKLCH | oklch(49.27% 0.165 19.8) |
| XYZ | xyz(18.3033, 10.5321, 4.8097) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.54
Rose Red
#BE013C
ΔE00 4.21
Lipstick Red
#C0022F
ΔE00 4.25
Brown
#A52A2A
ΔE00 4.41
Cardinal
#C41E3A
ΔE00 4.57
Dull Red
#BB3F3F
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2938 #29AB9C
analogous
#AB2979 #AB2938 #AB5B29
triadic
#AB2938 #38AB29 #2938AB
tetradic
#AB2938 #79AB29 #29AB9C #5B29AB
square
#AB2938 #79AB29 #29AB9C #5B29AB
split-complementary
#AB2938 #29AB5B #2979AB
monochromatic
#481118 #7A1D28 #AB2938 #D14051 #DD717E
Accessibility & contrast
On white
6.76
#AB2938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2938
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2938 | 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)
#4F4A38
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2938; /* rgb */ color: rgb(171, 41, 56); /* oklch */ color: oklch(49.3% 0.165 19.8);
Tailwind
colors: {
custom: {
50: '#cc6e6e',
500: '#ab2938',
950: '#000000',
},
}SCSS
$custom: #ab2938; $custom-light: #cc6e6e; $custom-dark: #000000;
JSON
{
"hex": "#ab2938",
"rgb": {
"r": 171,
"g": 41,
"b": 56
},
"hsl": {
"h": 353.077,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49273,
"c": 0.1654,
"h": 19.8
},
"luminance": 0.10529
}Semantic roles & 50–950 ramp
primary
#AB2938
secondary
#6CC4BA
accent
#E4D243
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A