#A8336B#A8336B
#A8336B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.161 H 355.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A8336B |
|---|---|
| RGB | rgb(168, 51, 107) |
| HSL | hsl(331, 53%, 43%) |
| HSV | hsv(331, 70%, 66%) |
| CMYK | cmyk(0%, 69.6%, 36.3%, 34.1%) |
| CIE-LAB | lab(40.83, 52.39, -5.60) |
| CIE-LCH | lch(40.83, 52.69, 353.90°) |
| OKLab | oklab(51.11% 0.1604 -0.0141) |
| OKLCH | oklch(51.11% 0.161 355) |
| XYZ | xyz(19.9873, 11.7563, 15.1237) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.35
Deep Magenta
#A0025C
ΔE00 5.81
Violet Red
#A50055
ΔE00 6.04
Dark Fuchsia
#9D0759
ΔE00 6.08
Red Violet
#9E0168
ΔE00 6.62
Mediumvioletred
#C71585
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8336B #33A870
analogous
#A833A5 #A8336B #A83533
triadic
#A8336B #6BA833 #336BA8
tetradic
#A8336B #A5A833 #33A870 #3533A8
square
#A8336B #A5A833 #33A870 #3533A8
split-complementary
#A8336B #33A835 #33A5A8
monochromatic
#4A162F #79254D #A8336B #C94F89 #D87EA9
Accessibility & contrast
On white
6.27
#A8336B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#A8336B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8336B
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8336B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8336B | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#B5294B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a8336b; /* rgb */ color: rgb(168, 51, 107); /* oklch */ color: oklch(51.1% 0.161 355.0);
Tailwind
colors: {
custom: {
50: '#c67495',
500: '#a8336b',
950: '#000000',
},
}SCSS
$custom: #a8336b; $custom-light: #c67495; $custom-dark: #000000;
JSON
{
"hex": "#a8336b",
"rgb": {
"r": 168,
"g": 51,
"b": 107
},
"hsl": {
"h": 331.282,
"s": 53.425,
"l": 42.941
},
"oklch": {
"l": 0.51105,
"c": 0.16102,
"h": 355
},
"luminance": 0.11754
}Semantic roles & 50–950 ramp
primary
#A8336B
secondary
#76C19D
accent
#DD974B
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E