#9E164F#9E164F

#9E164F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.172 H 2.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9E164F
RGBrgb(158, 22, 79)
HSLhsl(335, 76%, 35%)
HSVhsv(335, 86%, 62%)
CMYKcmyk(0%, 86.1%, 50%, 38%)
CIE-LABlab(34.82, 55.86, 3.21)
CIE-LCHlch(34.82, 55.96, 3.29°)
OKLaboklab(46.06% 0.1715 0.0088)
OKLCHoklch(46.06% 0.172 2.9)
XYZxyz(15.8002, 8.4097, 8.1869)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E164F #169E65
analogous
#9E1693 #9E164F #9E2116
triadic
#9E164F #4F9E16 #164F9E
tetradic
#9E164F #939E16 #169E65 #21169E
square
#9E164F #939E16 #169E65 #21169E
split-complementary
#9E164F #169E21 #16939E
monochromatic
#330719 #680F34 #9E164F #D41D6A #E6498B

Accessibility & contrast

On white

7.83
#9E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E164F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E164F#FFFFFF#000000##FFFFFF
##9E164F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4150
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e164f;
/* rgb */ color: rgb(158, 22, 79);
/* oklch */ color: oklch(46.1% 0.172 2.9);
Tailwind
colors: {
  custom: {
    50: '#c16680',
    500: '#9e164f',
    950: '#000000',
  },
}
SCSS
$custom: #9e164f;
$custom-light: #c16680;
$custom-dark: #000000;
JSON
{
  "hex": "#9e164f",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 334.853,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.17173,
    "h": 2.9
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#9E164F
secondary
#49C792
accent
#F2A336
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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