#AE1F42#AE1F42
#AE1F42 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.177 H 13.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AE1F42 |
|---|---|
| RGB | rgb(174, 31, 66) |
| HSL | hsl(345, 70%, 40%) |
| HSV | hsv(345, 82%, 68%) |
| CMYK | cmyk(0%, 82.2%, 62.1%, 31.8%) |
| CIE-LAB | lab(38.51, 57.05, 17.20) |
| CIE-LCH | lch(38.51, 59.59, 16.78°) |
| OKLab | oklab(49.24% 0.1716 0.042) |
| OKLCH | oklch(49.24% 0.177 13.8) |
| XYZ | xyz(18.9309, 10.3749, 6.1589) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.17
Rose Red
#BE013C
ΔE00 3.43
Raspberry (survey)
#B00149
ΔE00 3.90
Purplish Red
#B0054B
ΔE00 4.23
Cranberry
#9E003A
ΔE00 4.73
Ruby
#CA0147
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE1F42 #1FAE8B
analogous
#AE1F89 #AE1F42 #AE441F
triadic
#AE1F42 #42AE1F #1F42AE
tetradic
#AE1F42 #89AE1F #1FAE8B #441FAE
square
#AE1F42 #89AE1F #1FAE8B #441FAE
split-complementary
#AE1F42 #1FAE44 #1F89AE
monochromatic
#460C1B #7A162E #AE1F42 #DA305A #E36483
Accessibility & contrast
On white
6.83
#AE1F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AE1F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AE1F42
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE1F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AE1F42 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4842
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#BF002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ae1f42; /* rgb */ color: rgb(174, 31, 66); /* oklch */ color: oklch(49.2% 0.177 13.8);
Tailwind
colors: {
custom: {
50: '#ce6b76',
500: '#ae1f42',
950: '#000000',
},
}SCSS
$custom: #ae1f42; $custom-light: #ce6b76; $custom-dark: #000000;
JSON
{
"hex": "#ae1f42",
"rgb": {
"r": 174,
"g": 31,
"b": 66
},
"hsl": {
"h": 345.315,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.49237,
"c": 0.17662,
"h": 13.8
},
"luminance": 0.10372
}Semantic roles & 50–950 ramp
primary
#AE1F42
secondary
#60C8AF
accent
#EDC13B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B