#9E165F#9E165F
#9E165F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.177 H 354.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E165F |
|---|---|
| RGB | rgb(158, 22, 95) |
| HSL | hsl(328, 76%, 35%) |
| HSV | hsv(328, 86%, 62%) |
| CMYK | cmyk(0%, 86.1%, 39.9%, 38%) |
| CIE-LAB | lab(35.34, 57.36, -6.37) |
| CIE-LCH | lch(35.34, 57.71, 353.66°) |
| OKLab | oklab(46.61% 0.1767 -0.0161) |
| OKLCH | oklch(46.61% 0.177 354.8) |
| XYZ | xyz(16.4542, 8.6713, 11.6315) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 1.19
Dark Fuchsia
#9D0759
ΔE00 1.46
Dark Magenta
#960056
ΔE00 2.62
Red Violet
#9E0168
ΔE00 3.09
Violet Red
#A50055
ΔE00 3.22
Reddish Purple
#910951
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E165F #169E55
analogous
#99169E #9E165F #9E161B
triadic
#9E165F #5F9E16 #165F9E
tetradic
#9E165F #9E9916 #169E55 #161B9E
square
#9E165F #9E9916 #169E55 #161B9E
split-complementary
#9E165F #1B9E16 #169E99
monochromatic
#33071E #680F3F #9E165F #D41D7F #E6499D
Accessibility & contrast
On white
7.68
#9E165F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9E165F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E165F
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E165F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E165F | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#AB003A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e165f; /* rgb */ color: rgb(158, 22, 95); /* oklch */ color: oklch(46.6% 0.177 354.8);
Tailwind
colors: {
custom: {
50: '#c0668c',
500: '#9e165f',
950: '#000000',
},
}SCSS
$custom: #9e165f; $custom-light: #c0668c; $custom-dark: #000000;
JSON
{
"hex": "#9e165f",
"rgb": {
"r": 158,
"g": 22,
"b": 95
},
"hsl": {
"h": 327.794,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.4661,
"c": 0.17744,
"h": 354.8
},
"luminance": 0.08669
}Semantic roles & 50–950 ramp
primary
#9E165F
secondary
#49C783
accent
#F28D36
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D