#9E336F#9E336F
#9E336F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.154 H 349.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9E336F |
|---|---|
| RGB | rgb(158, 51, 111) |
| HSL | hsl(326, 51%, 41%) |
| HSV | hsv(326, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 29.7%, 38%) |
| CIE-LAB | lab(39.22, 49.94, -10.69) |
| CIE-LCH | lch(39.22, 51.07, 347.92°) |
| OKLab | oklab(49.64% 0.1519 -0.0279) |
| OKLCH | oklch(49.64% 0.154 349.6) |
| XYZ | xyz(18.1545, 10.7864, 16.1617) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.13
Deep Magenta
#A0025C
ΔE00 5.68
Dark Fuchsia
#9D0759
ΔE00 6.00
Magenta (survey)
#C20078
ΔE00 6.42
Dark Magenta
#960056
ΔE00 6.88
Violet Red
#A50055
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E336F #339E62
analogous
#97339E #9E336F #9E3339
triadic
#9E336F #6F9E33 #336F9E
tetradic
#9E336F #9E9733 #339E62 #33399E
square
#9E336F #9E9733 #339E62 #33399E
split-complementary
#9E336F #399E33 #339E97
monochromatic
#41152E #70244E #9E336F #C44A8F #D378AB
Accessibility & contrast
On white
6.65
#9E336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9E336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E336F
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E336F | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425071
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#A92E4C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e336f; /* rgb */ color: rgb(158, 51, 111); /* oklch */ color: oklch(49.6% 0.154 349.6);
Tailwind
colors: {
custom: {
50: '#be7298',
500: '#9e336f',
950: '#000000',
},
}SCSS
$custom: #9e336f; $custom-light: #be7298; $custom-dark: #000000;
JSON
{
"hex": "#9e336f",
"rgb": {
"r": 158,
"g": 51,
"b": 111
},
"hsl": {
"h": 326.355,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.49637,
"c": 0.15446,
"h": 349.6
},
"luminance": 0.10784
}Semantic roles & 50–950 ramp
primary
#9E336F
secondary
#71BC92
accent
#DB8B4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E