#A5274C#A5274C
#A5274C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 8.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A5274C |
|---|---|
| RGB | rgb(165, 39, 76) |
| HSL | hsl(342, 62%, 40%) |
| HSV | hsv(342, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 53.9%, 35.3%) |
| CIE-LAB | lab(37.80, 52.83, 9.56) |
| CIE-LCH | lch(37.80, 53.69, 10.26°) |
| OKLab | oklab(48.47% 0.1607 0.0244) |
| OKLCH | oklch(48.47% 0.163 8.6) |
| XYZ | xyz(17.5487, 9.9746, 7.8373) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.74
Raspberry (survey)
#B00149
ΔE00 2.84
Cranberry
#9E003A
ΔE00 4.68
Light Burgundy
#A8415B
ΔE00 5.01
Berry
#990F4B
ΔE00 5.06
Purple Red
#990147
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5274C #27A580
analogous
#A5278B #A5274C #A54127
triadic
#A5274C #4CA527 #274CA5
tetradic
#A5274C #8BA527 #27A580 #4127A5
square
#A5274C #8BA527 #27A580 #4127A5
split-complementary
#A5274C #27A541 #278BA5
monochromatic
#42101E #741B35 #A5274C #D03965 #DC6A8C
Accessibility & contrast
On white
7.01
#A5274C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#A5274C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A5274C
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5274C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5274C | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a5274c; /* rgb */ color: rgb(165, 39, 76); /* oklch */ color: oklch(48.5% 0.163 8.6);
Tailwind
colors: {
custom: {
50: '#c66d7d',
500: '#a5274c',
950: '#000000',
},
}SCSS
$custom: #a5274c; $custom-light: #c66d7d; $custom-dark: #000000;
JSON
{
"hex": "#a5274c",
"rgb": {
"r": 165,
"g": 39,
"b": 76
},
"hsl": {
"h": 342.381,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48469,
"c": 0.16253,
"h": 8.6
},
"luminance": 0.09972
}Semantic roles & 50–950 ramp
primary
#A5274C
secondary
#66C2A7
accent
#E5B543
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B