#9F164E#9F164E

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

Color values

HEX#9F164E
RGBrgb(159, 22, 78)
HSLhsl(335, 76%, 35%)
HSVhsv(335, 86%, 62%)
CMYKcmyk(0%, 86.2%, 50.9%, 37.6%)
CIE-LABlab(35.00, 56.04, 4.14)
CIE-LCHlch(35.00, 56.19, 4.22°)
OKLaboklab(46.22% 0.1719 0.0111)
OKLCHoklch(46.22% 0.172 3.7)
XYZxyz(15.9616, 8.4971, 8.0059)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F164E #169F67
analogous
#9F1693 #9F164E #9F2216
triadic
#9F164E #4E9F16 #164E9F
tetradic
#9F164E #939F16 #169F67 #22169F
square
#9F164E #939F16 #169F67 #22169F
split-complementary
#9F164E #169F22 #16939F
monochromatic
#330719 #690F34 #9F164E #D51D68 #E64A89

Accessibility & contrast

On white

7.78
#9F164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F164E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F164E#FFFFFF#000000##FFFFFF
##9F164E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#605C4B
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f164e;
/* rgb */ color: rgb(159, 22, 78);
/* oklch */ color: oklch(46.2% 0.172 3.7);
Tailwind
colors: {
  custom: {
    50: '#c2667f',
    500: '#9f164e',
    950: '#000000',
  },
}
SCSS
$custom: #9f164e;
$custom-light: #c2667f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f164e",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 335.474,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.17226,
    "h": 3.7
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#9F164E
secondary
#4AC794
accent
#F2A536
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #9F164E

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

Preview Lab → · Contrast checker → · Palette generator →

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