#AD2540#AD2540
#AD2540 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.171 H 15.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AD2540 |
|---|---|
| RGB | rgb(173, 37, 64) |
| HSL | hsl(348, 65%, 41%) |
| HSV | hsv(348, 79%, 68%) |
| CMYK | cmyk(0%, 78.6%, 63%, 32.2%) |
| CIE-LAB | lab(38.86, 54.96, 18.91) |
| CIE-LCH | lch(38.86, 58.12, 18.99°) |
| OKLab | oklab(49.45% 0.1645 0.0458) |
| OKLCH | oklch(49.45% 0.171 15.6) |
| XYZ | xyz(18.8226, 10.5804, 5.9006) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.12
Rose Red
#BE013C
ΔE00 3.22
Ruby
#CA0147
ΔE00 5.16
Raspberry (survey)
#B00149
ΔE00 5.21
Cardinal
#C41E3A
ΔE00 5.45
Cranberry
#9E003A
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD2540 #25AD92
analogous
#AD2584 #AD2540 #AD4E25
triadic
#AD2540 #40AD25 #2540AD
tetradic
#AD2540 #84AD25 #25AD92 #4E25AD
square
#AD2540 #84AD25 #25AD92 #4E25AD
split-complementary
#AD2540 #25AD4E #2584AD
monochromatic
#480F1B #7B1A2D #AD2540 #D53A59 #E06D84
Accessibility & contrast
On white
6.74
#AD2540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AD2540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AD2540
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD2540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AD2540 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4940
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#BE0031
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ad2540; /* rgb */ color: rgb(173, 37, 64); /* oklch */ color: oklch(49.5% 0.171 15.6);
Tailwind
colors: {
custom: {
50: '#cd6d74',
500: '#ad2540',
950: '#000000',
},
}SCSS
$custom: #ad2540; $custom-light: #cd6d74; $custom-dark: #000000;
JSON
{
"hex": "#ad2540",
"rgb": {
"r": 173,
"g": 37,
"b": 64
},
"hsl": {
"h": 348.088,
"s": 64.762,
"l": 41.176
},
"oklch": {
"l": 0.49452,
"c": 0.17078,
"h": 15.6
},
"luminance": 0.10578
}Semantic roles & 50–950 ramp
primary
#AD2540
secondary
#68C6B3
accent
#E8C640
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B