#9F164D#9F164D

#9F164D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 4.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9F164D
RGBrgb(159, 22, 77)
HSLhsl(336, 76%, 35%)
HSVhsv(336, 86%, 62%)
CMYKcmyk(0%, 86.2%, 51.6%, 37.6%)
CIE-LABlab(34.97, 55.96, 4.75)
CIE-LCHlch(34.97, 56.16, 4.85°)
OKLaboklab(46.18% 0.1715 0.0126)
OKLCHoklch(46.18% 0.172 4.2)
XYZxyz(15.9260, 8.4829, 7.8185)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F164D #169F68
analogous
#9F1692 #9F164D #9F2316
triadic
#9F164D #4D9F16 #164D9F
tetradic
#9F164D #929F16 #169F68 #23169F
square
#9F164D #929F16 #169F68 #23169F
split-complementary
#9F164D #169F23 #16929F
monochromatic
#330719 #690F33 #9F164D #D51D67 #E64A88

Accessibility & contrast

On white

7.79
#9F164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F164D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F164D#FFFFFF#000000##FFFFFF
##9F164D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#605C4A
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f164d;
/* rgb */ color: rgb(159, 22, 77);
/* oklch */ color: oklch(46.2% 0.172 4.2);
Tailwind
colors: {
  custom: {
    50: '#c2667e',
    500: '#9f164d',
    950: '#000000',
  },
}
SCSS
$custom: #9f164d;
$custom-light: #c2667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f164d",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 335.912,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.172,
    "h": 4.2
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#9F164D
secondary
#4AC795
accent
#F2A636
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F164D

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

Preview Lab → · Contrast checker → · Palette generator →

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