#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
RGBrgb(158, 22, 95)
HSLhsl(328, 76%, 35%)
HSVhsv(328, 86%, 62%)
CMYKcmyk(0%, 86.1%, 39.9%, 38%)
CIE-LABlab(35.34, 57.36, -6.37)
CIE-LCHlch(35.34, 57.71, 353.66°)
OKLaboklab(46.61% 0.1767 -0.0161)
OKLCHoklch(46.61% 0.177 354.8)
XYZxyz(16.4542, 8.6713, 11.6315)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##9E165F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.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

Preview Lab

Preview with #9E165F

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

Preview Lab → · Contrast checker → · Palette generator →

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