#A5246B#A5246B
#A5246B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.176 H 352.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A5246B |
|---|---|
| RGB | rgb(165, 36, 107) |
| HSL | hsl(327, 64%, 39%) |
| HSV | hsv(327, 78%, 65%) |
| CMYK | cmyk(0%, 78.2%, 35.2%, 35.3%) |
| CIE-LAB | lab(38.42, 56.77, -9.26) |
| CIE-LCH | lch(38.42, 57.52, 350.74°) |
| OKLab | oklab(49.24% 0.1742 -0.0239) |
| OKLCH | oklch(49.24% 0.176 352.2) |
| XYZ | xyz(18.8029, 10.3249, 14.9098) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.78
Deep Magenta
#A0025C
ΔE00 3.82
Dark Fuchsia
#9D0759
ΔE00 4.31
Magenta (survey)
#C20078
ΔE00 5.13
Violet Red
#A50055
ΔE00 5.21
Dark Magenta
#960056
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5246B #24A55E
analogous
#9F24A5 #A5246B #A5242A
triadic
#A5246B #6BA524 #246BA5
tetradic
#A5246B #A59F24 #24A55E #242AA5
square
#A5246B #A59F24 #24A55E #242AA5
split-complementary
#A5246B #2AA524 #24A59F
monochromatic
#410E2A #73194A #A5246B #D3348B #DE66A8
Accessibility & contrast
On white
6.85
#A5246B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#A5246B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5246B
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5246B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5246B | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4C6D
Deuteranopia (green-blind)
#616368
Tritanopia (blue-blind)
#B21745
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a5246b; /* rgb */ color: rgb(165, 36, 107); /* oklch */ color: oklch(49.2% 0.176 352.2);
Tailwind
colors: {
custom: {
50: '#c46d95',
500: '#a5246b',
950: '#000000',
},
}SCSS
$custom: #a5246b; $custom-light: #c46d95; $custom-dark: #000000;
JSON
{
"hex": "#a5246b",
"rgb": {
"r": 165,
"g": 36,
"b": 107
},
"hsl": {
"h": 326.977,
"s": 64.179,
"l": 39.412
},
"oklch": {
"l": 0.49239,
"c": 0.1758,
"h": 352.2
},
"luminance": 0.10323
}Semantic roles & 50–950 ramp
primary
#A5246B
secondary
#62C38D
accent
#E78C41
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#13080D
muted
#827A7E