#A5275A#A5275A
#A5275A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 1.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A5275A |
|---|---|
| RGB | rgb(165, 39, 90) |
| HSL | hsl(336, 62%, 40%) |
| HSV | hsv(336, 76%, 65%) |
| CMYK | cmyk(0%, 76.4%, 45.5%, 35.3%) |
| CIE-LAB | lab(38.18, 54.06, 1.17) |
| CIE-LCH | lch(38.18, 54.07, 1.24°) |
| OKLab | oklab(48.88% 0.1659 0.0036) |
| OKLCH | oklch(48.88% 0.166 1.2) |
| XYZ | xyz(18.0895, 10.1909, 10.6854) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.19
Berry
#990F4B
ΔE00 4.30
Dark Fuchsia
#9D0759
ΔE00 4.50
Deep Magenta
#A0025C
ΔE00 4.64
Purplish Red
#B0054B
ΔE00 4.73
Purple Red
#990147
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5275A #27A572
analogous
#A52799 #A5275A #A53327
triadic
#A5275A #5AA527 #275AA5
tetradic
#A5275A #99A527 #27A572 #3327A5
square
#A5275A #99A527 #27A572 #3327A5
split-complementary
#A5275A #27A533 #2799A5
monochromatic
#421024 #741B3F #A5275A #D03976 #DC6A98
Accessibility & contrast
On white
6.91
#A5275A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#A5275A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5275A
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5275A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5275A | 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)
#444A5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B30E3D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5275a; /* rgb */ color: rgb(165, 39, 90); /* oklch */ color: oklch(48.9% 0.166 1.2);
Tailwind
colors: {
custom: {
50: '#c56d88',
500: '#a5275a',
950: '#000000',
},
}SCSS
$custom: #a5275a; $custom-light: #c56d88; $custom-dark: #000000;
JSON
{
"hex": "#a5275a",
"rgb": {
"r": 165,
"g": 39,
"b": 90
},
"hsl": {
"h": 335.714,
"s": 61.765,
"l": 40
},
"oklch": {
"l": 0.48879,
"c": 0.16591,
"h": 1.2
},
"luminance": 0.10189
}Semantic roles & 50–950 ramp
primary
#A5275A
secondary
#66C29D
accent
#E5A343
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C