#9A396E#9A396E
#9A396E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.7% C 0.142 H 349.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9A396E |
|---|---|
| RGB | rgb(154, 57, 110) |
| HSL | hsl(327, 46%, 41%) |
| HSV | hsv(327, 63%, 60%) |
| CMYK | cmyk(0%, 63%, 28.6%, 39.6%) |
| CIE-LAB | lab(39.45, 46.00, -9.78) |
| CIE-LCH | lch(39.45, 47.03, 348.00°) |
| OKLab | oklab(49.67% 0.1395 -0.0255) |
| OKLCH | oklch(49.67% 0.142 349.6) |
| XYZ | xyz(17.6048, 10.9238, 15.9302) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 6.15
Deep Magenta
#A0025C
ΔE00 6.47
Dark Fuchsia
#9D0759
ΔE00 6.67
Bruise
#7E4071
ΔE00 6.73
Magenta (survey)
#C20078
ΔE00 7.41
Dark Magenta
#960056
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A396E #399A65
analogous
#96399A #9A396E #9A393E
triadic
#9A396E #6E9A39 #396E9A
tetradic
#9A396E #9A9639 #399A65 #393E9A
square
#9A396E #9A9639 #399A65 #393E9A
split-complementary
#9A396E #3E9A39 #399A96
monochromatic
#41182E #6D284E #9A396E #BF518D #CF7EAA
Accessibility & contrast
On white
6.59
#9A396E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9A396E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A396E
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A396E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A396E | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#61636C
Tritanopia (blue-blind)
#A5354F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9a396e; /* rgb */ color: rgb(154, 57, 110); /* oklch */ color: oklch(49.7% 0.142 349.6);
Tailwind
colors: {
custom: {
50: '#bb7597',
500: '#9a396e',
950: '#000000',
},
}SCSS
$custom: #9a396e; $custom-light: #bb7597; $custom-dark: #000000;
JSON
{
"hex": "#9a396e",
"rgb": {
"r": 154,
"g": 57,
"b": 110
},
"hsl": {
"h": 327.216,
"s": 45.972,
"l": 41.373
},
"oklch": {
"l": 0.49666,
"c": 0.14182,
"h": 349.6
},
"luminance": 0.10922
}Semantic roles & 50–950 ramp
primary
#9A396E
secondary
#76B994
accent
#D68E52
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090D
muted
#817B7E