#A5274B#A5274B
#A5274B is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.162 H 9.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A5274B |
|---|---|
| RGB | rgb(165, 39, 75) |
| HSL | hsl(343, 62%, 40%) |
| HSV | hsv(343, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 54.5%, 35.3%) |
| CIE-LAB | lab(37.77, 52.75, 10.16) |
| CIE-LCH | lch(37.77, 53.72, 10.91°) |
| OKLab | oklab(48.44% 0.1603 0.0259) |
| OKLCH | oklch(48.44% 0.162 9.2) |
| XYZ | xyz(17.5142, 9.9608, 7.6556) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.81
Raspberry (survey)
#B00149
ΔE00 2.85
Cranberry
#9E003A
ΔE00 4.53
Rouge
#AB1239
ΔE00 5.08
Light Burgundy
#A8415B
ΔE00 5.08
Berry
#990F4B
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5274B #27A581
analogous
#A5278A #A5274B #A54227
triadic
#A5274B #4BA527 #274BA5
tetradic
#A5274B #8AA527 #27A581 #4227A5
square
#A5274B #8AA527 #27A581 #4227A5
split-complementary
#A5274B #27A542 #278AA5
monochromatic
#42101E #741B35 #A5274B #D03964 #DC6A8B
Accessibility & contrast
On white
7.02
#A5274B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A5274B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5274B
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5274B | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494C
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5274b; /* rgb */ color: rgb(165, 39, 75); /* oklch */ color: oklch(48.4% 0.162 9.2);
Tailwind
colors: {
custom: {
50: '#c66d7d',
500: '#a5274b',
950: '#000000',
},
}SCSS
$custom: #a5274b; $custom-light: #c66d7d; $custom-dark: #000000;
JSON
{
"hex": "#a5274b",
"rgb": {
"r": 165,
"g": 39,
"b": 75
},
"hsl": {
"h": 342.857,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48442,
"c": 0.16236,
"h": 9.2
},
"luminance": 0.09958
}Semantic roles & 50–950 ramp
primary
#A5274B
secondary
#66C2A8
accent
#E5B743
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B