#A5274D#A5274D
#A5274D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 8.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A5274D |
|---|---|
| RGB | rgb(165, 39, 77) |
| HSL | hsl(342, 62%, 40%) |
| HSV | hsv(342, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 53.3%, 35.3%) |
| CIE-LAB | lab(37.82, 52.91, 8.95) |
| CIE-LCH | lch(37.82, 53.66, 9.61°) |
| OKLab | oklab(48.5% 0.1611 0.023) |
| OKLCH | oklch(48.5% 0.163 8.1) |
| XYZ | xyz(17.5837, 9.9887, 8.0218) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.71
Raspberry (survey)
#B00149
ΔE00 2.86
Cranberry
#9E003A
ΔE00 4.85
Berry
#990F4B
ΔE00 4.88
Light Burgundy
#A8415B
ΔE00 4.95
Purple Red
#990147
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5274D #27A57F
analogous
#A5278C #A5274D #A54027
triadic
#A5274D #4DA527 #274DA5
tetradic
#A5274D #8CA527 #27A57F #4027A5
square
#A5274D #8CA527 #27A57F #4027A5
split-complementary
#A5274D #27A540 #278CA5
monochromatic
#42101F #741B36 #A5274D #D03967 #DC6A8D
Accessibility & contrast
On white
7.01
#A5274D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#A5274D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5274D
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5274D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5274D | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#B40137
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5274d; /* rgb */ color: rgb(165, 39, 77); /* oklch */ color: oklch(48.5% 0.163 8.1);
Tailwind
colors: {
custom: {
50: '#c66d7e',
500: '#a5274d',
950: '#000000',
},
}SCSS
$custom: #a5274d; $custom-light: #c66d7e; $custom-dark: #000000;
JSON
{
"hex": "#a5274d",
"rgb": {
"r": 165,
"g": 39,
"b": 77
},
"hsl": {
"h": 341.905,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48496,
"c": 0.1627,
"h": 8.1
},
"luminance": 0.09986
}Semantic roles & 50–950 ramp
primary
#A5274D
secondary
#66C2A6
accent
#E5B443
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B