#9E336E#9E336E
#9E336E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.154 H 350.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9E336E |
|---|---|
| RGB | rgb(158, 51, 110) |
| HSL | hsl(327, 51%, 41%) |
| HSV | hsv(327, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 30.4%, 38%) |
| CIE-LAB | lab(39.18, 49.81, -10.12) |
| CIE-LCH | lch(39.18, 50.83, 348.51°) |
| OKLab | oklab(49.6% 0.1516 -0.0264) |
| OKLCH | oklch(49.6% 0.154 350.1) |
| XYZ | xyz(18.0997, 10.7645, 15.8734) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.17
Deep Magenta
#A0025C
ΔE00 5.56
Dark Fuchsia
#9D0759
ΔE00 5.85
Magenta (survey)
#C20078
ΔE00 6.43
Dark Magenta
#960056
ΔE00 6.77
Violet Red
#A50055
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E336E #339E63
analogous
#98339E #9E336E #9E3338
triadic
#9E336E #6E9E33 #336E9E
tetradic
#9E336E #9E9833 #339E63 #33389E
square
#9E336E #9E9833 #339E63 #33389E
split-complementary
#9E336E #389E33 #339E98
monochromatic
#41152E #70244E #9E336E #C44A8D #D378AA
Accessibility & contrast
On white
6.66
#9E336E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#9E336E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E336E
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E336E | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425070
Deuteranopia (green-blind)
#61636B
Tritanopia (blue-blind)
#A92E4C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e336e; /* rgb */ color: rgb(158, 51, 110); /* oklch */ color: oklch(49.6% 0.154 350.1);
Tailwind
colors: {
custom: {
50: '#be7297',
500: '#9e336e',
950: '#000000',
},
}SCSS
$custom: #9e336e; $custom-light: #be7297; $custom-dark: #000000;
JSON
{
"hex": "#9e336e",
"rgb": {
"r": 158,
"g": 51,
"b": 110
},
"hsl": {
"h": 326.916,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.49597,
"c": 0.15392,
"h": 350.1
},
"luminance": 0.10763
}Semantic roles & 50–950 ramp
primary
#9E336E
secondary
#71BC93
accent
#DB8D4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E