#9E336D#9E336D
#9E336D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.153 H 350.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9E336D |
|---|---|
| RGB | rgb(158, 51, 109) |
| HSL | hsl(327, 51%, 41%) |
| HSV | hsv(327, 68%, 62%) |
| CMYK | cmyk(0%, 67.7%, 31%, 38%) |
| CIE-LAB | lab(39.14, 49.69, -9.55) |
| CIE-LCH | lch(39.14, 50.59, 349.12°) |
| OKLab | oklab(49.56% 0.1514 -0.0248) |
| OKLCH | oklch(49.56% 0.153 350.7) |
| XYZ | xyz(18.0456, 10.7428, 15.5883) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.21
Deep Magenta
#A0025C
ΔE00 5.45
Dark Fuchsia
#9D0759
ΔE00 5.72
Magenta (survey)
#C20078
ΔE00 6.46
Dark Magenta
#960056
ΔE00 6.66
Violet Red
#A50055
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E336D #339E64
analogous
#99339E #9E336D #9E3337
triadic
#9E336D #6D9E33 #336D9E
tetradic
#9E336D #9E9933 #339E64 #33379E
square
#9E336D #9E9933 #339E64 #33379E
split-complementary
#9E336D #379E33 #339E99
monochromatic
#41152D #70244D #9E336D #C44A8C #D378AA
Accessibility & contrast
On white
6.67
#9E336D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#9E336D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E336D
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E336D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E336D | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43506F
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#AA2D4B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e336d; /* rgb */ color: rgb(158, 51, 109); /* oklch */ color: oklch(49.6% 0.153 350.7);
Tailwind
colors: {
custom: {
50: '#be7296',
500: '#9e336d',
950: '#000000',
},
}SCSS
$custom: #9e336d; $custom-light: #be7296; $custom-dark: #000000;
JSON
{
"hex": "#9e336d",
"rgb": {
"r": 158,
"g": 51,
"b": 109
},
"hsl": {
"h": 327.477,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.49558,
"c": 0.15338,
"h": 350.7
},
"luminance": 0.10741
}Semantic roles & 50–950 ramp
primary
#9E336D
secondary
#71BC93
accent
#DB8E4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E