#9F164C#9F164C

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

Color values

HEX#9F164C
RGBrgb(159, 22, 76)
HSLhsl(336, 76%, 35%)
HSVhsv(336, 86%, 62%)
CMYKcmyk(0%, 86.2%, 52.2%, 37.6%)
CIE-LABlab(34.94, 55.88, 5.36)
CIE-LCHlch(34.94, 56.13, 5.48°)
OKLaboklab(46.16% 0.1712 0.0141)
OKLCHoklch(46.16% 0.172 4.7)
XYZxyz(15.8910, 8.4689, 7.6340)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F164C #169F69
analogous
#9F1691 #9F164C #9F2416
triadic
#9F164C #4C9F16 #164C9F
tetradic
#9F164C #919F16 #169F69 #24169F
square
#9F164C #919F16 #169F69 #24169F
split-complementary
#9F164C #169F24 #16919F
monochromatic
#330719 #690F32 #9F164C #D51D66 #E64A87

Accessibility & contrast

On white

7.80
#9F164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F164C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F164C#FFFFFF#000000##FFFFFF
##9F164C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f164c;
/* rgb */ color: rgb(159, 22, 76);
/* oklch */ color: oklch(46.2% 0.172 4.7);
Tailwind
colors: {
  custom: {
    50: '#c2667d',
    500: '#9f164c',
    950: '#000000',
  },
}
SCSS
$custom: #9f164c;
$custom-light: #c2667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f164c",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 336.35,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.17175,
    "h": 4.7
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#9F164C
secondary
#4AC796
accent
#F2A836
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F164C

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

Preview Lab → · Contrast checker → · Palette generator →

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