#A5274A#A5274A
#A5274A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.162 H 9.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A5274A |
|---|---|
| RGB | rgb(165, 39, 74) |
| HSL | hsl(343, 62%, 40%) |
| HSV | hsv(343, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 55.2%, 35.3%) |
| CIE-LAB | lab(37.75, 52.67, 10.77) |
| CIE-LCH | lch(37.75, 53.76, 11.56°) |
| OKLab | oklab(48.42% 0.1599 0.0273) |
| OKLCH | oklch(48.42% 0.162 9.7) |
| XYZ | xyz(17.4802, 9.9473, 7.4768) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.91
Purplish Red
#B0054B
ΔE00 2.91
Cranberry
#9E003A
ΔE00 4.40
Rouge
#AB1239
ΔE00 4.78
Light Burgundy
#A8415B
ΔE00 5.17
Berry
#990F4B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5274A #27A582
analogous
#A52789 #A5274A #A54327
triadic
#A5274A #4AA527 #274AA5
tetradic
#A5274A #89A527 #27A582 #4327A5
square
#A5274A #89A527 #27A582 #4327A5
split-complementary
#A5274A #27A543 #2789A5
monochromatic
#42101E #741B34 #A5274A #D03963 #DC6A8A
Accessibility & contrast
On white
7.03
#A5274A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A5274A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5274A
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5274A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5274A | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5274a; /* rgb */ color: rgb(165, 39, 74); /* oklch */ color: oklch(48.4% 0.162 9.7);
Tailwind
colors: {
custom: {
50: '#c66d7c',
500: '#a5274a',
950: '#000000',
},
}SCSS
$custom: #a5274a; $custom-light: #c66d7c; $custom-dark: #000000;
JSON
{
"hex": "#a5274a",
"rgb": {
"r": 165,
"g": 39,
"b": 74
},
"hsl": {
"h": 343.333,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48416,
"c": 0.16222,
"h": 9.7
},
"luminance": 0.09945
}Semantic roles & 50–950 ramp
primary
#A5274A
secondary
#66C2A8
accent
#E5B843
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B