#A5256E#A5256E
#A5256E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.176 H 350.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A5256E |
|---|---|
| RGB | rgb(165, 37, 110) |
| HSL | hsl(326, 63%, 40%) |
| HSV | hsv(326, 78%, 65%) |
| CMYK | cmyk(0%, 77.6%, 33.3%, 35.3%) |
| CIE-LAB | lab(38.64, 56.81, -10.82) |
| CIE-LCH | lch(38.64, 57.83, 349.22°) |
| OKLab | oklab(49.44% 0.174 -0.0281) |
| OKLCH | oklch(49.44% 0.176 350.8) |
| XYZ | xyz(18.9942, 10.4505, 15.7657) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.73
Deep Magenta
#A0025C
ΔE00 4.33
Dark Fuchsia
#9D0759
ΔE00 4.85
Magenta (survey)
#C20078
ΔE00 5.04
Violet Red
#A50055
ΔE00 5.88
Dark Magenta
#960056
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5256E #25A55C
analogous
#9C25A5 #A5256E #A5252E
triadic
#A5256E #6EA525 #256EA5
tetradic
#A5256E #A59C25 #25A55C #252EA5
square
#A5256E #A59C25 #25A55C #252EA5
split-complementary
#A5256E #2EA525 #25A59C
monochromatic
#410F2B #731A4D #A5256E #D2358F #DD67AA
Accessibility & contrast
On white
6.80
#A5256E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#A5256E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5256E
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5256E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5256E | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4C70
Deuteranopia (green-blind)
#61636B
Tritanopia (blue-blind)
#B21B46
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a5256e; /* rgb */ color: rgb(165, 37, 110); /* oklch */ color: oklch(49.4% 0.176 350.8);
Tailwind
colors: {
custom: {
50: '#c46d97',
500: '#a5256e',
950: '#000000',
},
}SCSS
$custom: #a5256e; $custom-light: #c46d97; $custom-dark: #000000;
JSON
{
"hex": "#a5256e",
"rgb": {
"r": 165,
"g": 37,
"b": 110
},
"hsl": {
"h": 325.781,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.49436,
"c": 0.17626,
"h": 350.8
},
"luminance": 0.10448
}Semantic roles & 50–950 ramp
primary
#A5256E
secondary
#63C38C
accent
#E68841
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E