#9E165A#9E165A

#9E165A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.175 H 357.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9E165A
RGBrgb(158, 22, 90)
HSLhsl(330, 76%, 35%)
HSVhsv(330, 86%, 62%)
CMYKcmyk(0%, 86.1%, 43%, 38%)
CIE-LABlab(35.17, 56.86, -3.41)
CIE-LCHlch(35.17, 56.96, 356.57°)
OKLaboklab(46.43% 0.1752 -0.0083)
OKLCHoklch(46.43% 0.175 357.3)
XYZxyz(16.2342, 8.5833, 10.4728)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E165A #169E5A
analogous
#9E169E #9E165A #9E1616
triadic
#9E165A #5A9E16 #165A9E
tetradic
#9E165A #9E9E16 #169E5A #16169E
square
#9E165A #9E9E16 #169E5A #16169E
split-complementary
#9E165A #169E16 #169E9E
monochromatic
#33071D #680F3B #9E165A #D41D79 #E64997

Accessibility & contrast

On white

7.73
#9E165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E165A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E165A#FFFFFF#000000##FFFFFF
##9E165A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#5D5C57
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e165a;
/* rgb */ color: rgb(158, 22, 90);
/* oklch */ color: oklch(46.4% 0.175 357.3);
Tailwind
colors: {
  custom: {
    50: '#c06688',
    500: '#9e165a',
    950: '#000000',
  },
}
SCSS
$custom: #9e165a;
$custom-light: #c06688;
$custom-dark: #000000;
JSON
{
  "hex": "#9e165a",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 330,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46427,
    "c": 0.1754,
    "h": 357.3
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#9E165A
secondary
#49C788
accent
#F29436
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E165A

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

Preview Lab → · Contrast checker → · Palette generator →

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