#A5275B#A5275B
#A5275B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 0.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A5275B |
|---|---|
| RGB | rgb(165, 39, 91) |
| HSL | hsl(335, 62%, 40%) |
| HSV | hsv(335, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 44.8%, 35.3%) |
| CIE-LAB | lab(38.21, 54.16, 0.58) |
| CIE-LCH | lch(38.21, 54.16, 0.61°) |
| OKLab | oklab(48.91% 0.1662 0.0021) |
| OKLCH | oklch(48.91% 0.166 0.7) |
| XYZ | xyz(18.1323, 10.2081, 10.9110) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.17
Dark Fuchsia
#9D0759
ΔE00 4.36
Berry
#990F4B
ΔE00 4.40
Deep Magenta
#A0025C
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 4.97
Purple Red
#990147
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5275B #27A571
analogous
#A5279A #A5275B #A53227
triadic
#A5275B #5BA527 #275BA5
tetradic
#A5275B #9AA527 #27A571 #3227A5
square
#A5275B #9AA527 #27A571 #3227A5
split-complementary
#A5275B #27A532 #279AA5
monochromatic
#421024 #741B40 #A5275B #D03977 #DC6A99
Accessibility & contrast
On white
6.91
#A5275B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#A5275B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5275B
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5275B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5275B | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B30F3E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5275b; /* rgb */ color: rgb(165, 39, 91); /* oklch */ color: oklch(48.9% 0.166 0.7);
Tailwind
colors: {
custom: {
50: '#c56d89',
500: '#a5275b',
950: '#000000',
},
}SCSS
$custom: #a5275b; $custom-light: #c56d89; $custom-dark: #000000;
JSON
{
"hex": "#a5275b",
"rgb": {
"r": 165,
"g": 39,
"b": 91
},
"hsl": {
"h": 335.238,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48912,
"c": 0.16623,
"h": 0.7
},
"luminance": 0.10206
}Semantic roles & 50–950 ramp
primary
#A5275B
secondary
#66C29C
accent
#E5A243
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C