#9E164D#9E164D

#9E164D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 4.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9E164D
RGBrgb(158, 22, 77)
HSLhsl(336, 76%, 35%)
HSVhsv(336, 86%, 62%)
CMYKcmyk(0%, 86.1%, 51.3%, 38%)
CIE-LABlab(34.76, 55.70, 4.43)
CIE-LCHlch(34.76, 55.87, 4.55°)
OKLaboklab(46% 0.1708 0.0118)
OKLCHoklch(46% 0.171 4)
XYZxyz(15.7285, 8.3810, 7.8092)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E164D #169E67
analogous
#9E1691 #9E164D #9E2316
triadic
#9E164D #4D9E16 #164D9E
tetradic
#9E164D #919E16 #169E67 #23169E
square
#9E164D #919E16 #169E67 #23169E
split-complementary
#9E164D #169E23 #16919E
monochromatic
#330719 #680F33 #9E164D #D41D67 #E64988

Accessibility & contrast

On white

7.85
#9E164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E164D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E164D#FFFFFF#000000##FFFFFF
##9E164D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e164d;
/* rgb */ color: rgb(158, 22, 77);
/* oklch */ color: oklch(46.0% 0.171 4.0);
Tailwind
colors: {
  custom: {
    50: '#c1667e',
    500: '#9e164d',
    950: '#000000',
  },
}
SCSS
$custom: #9e164d;
$custom-light: #c1667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e164d",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 335.735,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45999,
    "c": 0.1712,
    "h": 4
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#9E164D
secondary
#49C794
accent
#F2A636
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E164D

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

Preview Lab → · Contrast checker → · Palette generator →

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