#9E165B#9E165B

#9E165B is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.176 H 356.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9E165B
RGBrgb(158, 22, 91)
HSLhsl(330, 76%, 35%)
HSVhsv(330, 86%, 62%)
CMYKcmyk(0%, 86.1%, 42.4%, 38%)
CIE-LABlab(35.20, 56.96, -4.01)
CIE-LCHlch(35.20, 57.10, 355.98°)
OKLaboklab(46.46% 0.1755 -0.0098)
OKLCHoklch(46.46% 0.176 356.8)
XYZxyz(16.2770, 8.6004, 10.6984)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E165B #169E59
analogous
#9D169E #9E165B #9E1617
triadic
#9E165B #5B9E16 #165B9E
tetradic
#9E165B #9E9D16 #169E59 #16179E
square
#9E165B #9E9D16 #169E59 #16179E
split-complementary
#9E165B #179E16 #169E9D
monochromatic
#33071D #680F3C #9E165B #D41D7A #E64998

Accessibility & contrast

On white

7.72
#9E165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E165B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E165B#FFFFFF#000000##FFFFFF
##9E165B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435D
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#AC0038
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e165b;
/* rgb */ color: rgb(158, 22, 91);
/* oklch */ color: oklch(46.5% 0.176 356.8);
Tailwind
colors: {
  custom: {
    50: '#c06689',
    500: '#9e165b',
    950: '#000000',
  },
}
SCSS
$custom: #9e165b;
$custom-light: #c06689;
$custom-dark: #000000;
JSON
{
  "hex": "#9e165b",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 329.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.17579,
    "h": 356.8
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#9E165B
secondary
#49C787
accent
#F29336
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E165B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E165B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva