#A5274E#A5274E
#A5274E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 7.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A5274E |
|---|---|
| RGB | rgb(165, 39, 78) |
| HSL | hsl(341, 62%, 40%) |
| HSV | hsv(341, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 52.7%, 35.3%) |
| CIE-LAB | lab(37.85, 52.99, 8.35) |
| CIE-LCH | lch(37.85, 53.65, 8.95°) |
| OKLab | oklab(48.52% 0.1615 0.0215) |
| OKLCH | oklch(48.52% 0.163 7.6) |
| XYZ | xyz(17.6193, 10.0029, 8.2092) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.71
Raspberry (survey)
#B00149
ΔE00 2.91
Berry
#990F4B
ΔE00 4.71
Light Burgundy
#A8415B
ΔE00 4.92
Cranberry
#9E003A
ΔE00 5.03
Purple Red
#990147
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5274E #27A57E
analogous
#A5278D #A5274E #A53F27
triadic
#A5274E #4EA527 #274EA5
tetradic
#A5274E #8DA527 #27A57E #3F27A5
square
#A5274E #8DA527 #27A57E #3F27A5
split-complementary
#A5274E #27A53F #278DA5
monochromatic
#42101F #741B37 #A5274E #D03968 #DC6A8E
Accessibility & contrast
On white
7.00
#A5274E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#A5274E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5274E
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5274E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5274E | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B40238
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5274e; /* rgb */ color: rgb(165, 39, 78); /* oklch */ color: oklch(48.5% 0.163 7.6);
Tailwind
colors: {
custom: {
50: '#c66d7f',
500: '#a5274e',
950: '#000000',
},
}SCSS
$custom: #a5274e; $custom-light: #c66d7f; $custom-dark: #000000;
JSON
{
"hex": "#a5274e",
"rgb": {
"r": 165,
"g": 39,
"b": 78
},
"hsl": {
"h": 341.429,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48523,
"c": 0.16289,
"h": 7.6
},
"luminance": 0.1
}Semantic roles & 50–950 ramp
primary
#A5274E
secondary
#66C2A6
accent
#E5B343
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C