#AB273F#AB273F
#AB273F is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.167 H 16.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB273F |
|---|---|
| RGB | rgb(171, 39, 63) |
| HSL | hsl(349, 63%, 41%) |
| HSV | hsv(349, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 63.2%, 32.9%) |
| CIE-LAB | lab(38.67, 53.68, 19.22) |
| CIE-LCH | lch(38.67, 57.02, 19.70°) |
| OKLab | oklab(49.24% 0.1605 0.0465) |
| OKLCH | oklch(49.24% 0.167 16.2) |
| XYZ | xyz(18.4192, 10.4706, 5.7528) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.16
Rose Red
#BE013C
ΔE00 3.52
Cardinal
#C41E3A
ΔE00 5.50
Cranberry
#9E003A
ΔE00 5.58
Ruby
#CA0147
ΔE00 5.59
Raspberry (survey)
#B00149
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB273F #27AB93
analogous
#AB2781 #AB273F #AB5127
triadic
#AB273F #3FAB27 #273FAB
tetradic
#AB273F #81AB27 #27AB93 #5127AB
square
#AB273F #81AB27 #27AB93 #5127AB
split-complementary
#AB273F #27AB51 #2781AB
monochromatic
#47101A #791C2D #AB273F #D33D58 #DE6E83
Accessibility & contrast
On white
6.79
#AB273F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB273F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB273F
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB273F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB273F | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493F
Deuteranopia (green-blind)
#6E653B
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab273f; /* rgb */ color: rgb(171, 39, 63); /* oklch */ color: oklch(49.2% 0.167 16.2);
Tailwind
colors: {
custom: {
50: '#cb6d73',
500: '#ab273f',
950: '#000000',
},
}SCSS
$custom: #ab273f; $custom-light: #cb6d73; $custom-dark: #000000;
JSON
{
"hex": "#ab273f",
"rgb": {
"r": 171,
"g": 39,
"b": 63
},
"hsl": {
"h": 349.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49235,
"c": 0.16709,
"h": 16.2
},
"luminance": 0.10468
}Semantic roles & 50–950 ramp
primary
#AB273F
secondary
#69C5B4
accent
#E6C842
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B