#AA2542#AA2542
#AA2542 is a mid, vivid red. Relative luminance 0.103; OKLCH L 49.0% C 0.168 H 14.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2542 |
|---|---|
| RGB | rgb(170, 37, 66) |
| HSL | hsl(347, 64%, 41%) |
| HSV | hsv(347, 78%, 67%) |
| CMYK | cmyk(0%, 78.2%, 61.2%, 33.3%) |
| CIE-LAB | lab(38.31, 54.21, 16.80) |
| CIE-LCH | lch(38.31, 56.75, 17.22°) |
| OKLab | oklab(48.95% 0.1629 0.0412) |
| OKLCH | oklch(48.95% 0.168 14.2) |
| XYZ | xyz(18.2244, 10.2652, 6.1750) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.28
Rose Red
#BE013C
ΔE00 4.00
Raspberry (survey)
#B00149
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.64
Cranberry
#9E003A
ΔE00 4.71
Ruby
#CA0147
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2542 #25AA8D
analogous
#AA2584 #AA2542 #AA4A25
triadic
#AA2542 #42AA25 #2542AA
tetradic
#AA2542 #84AA25 #25AA8D #4A25AA
square
#AA2542 #84AA25 #25AA8D #4A25AA
split-complementary
#AA2542 #25AA4A #2584AA
monochromatic
#450F1B #781A2E #AA2542 #D4385A #DF6B84
Accessibility & contrast
On white
6.88
#AA2542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#AA2542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2542
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2542 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4942
Deuteranopia (green-blind)
#6C643E
Tritanopia (blue-blind)
#BA0031
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #aa2542; /* rgb */ color: rgb(170, 37, 66); /* oklch */ color: oklch(49.0% 0.168 14.2);
Tailwind
colors: {
custom: {
50: '#ca6d76',
500: '#aa2542',
950: '#000000',
},
}SCSS
$custom: #aa2542; $custom-light: #ca6d76; $custom-dark: #000000;
JSON
{
"hex": "#aa2542",
"rgb": {
"r": 170,
"g": 37,
"b": 66
},
"hsl": {
"h": 346.917,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.48953,
"c": 0.16802,
"h": 14.2
},
"luminance": 0.10263
}Semantic roles & 50–950 ramp
primary
#AA2542
secondary
#66C5B0
accent
#E7C341
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B