#9F164B#9F164B

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

Color values

HEX#9F164B
RGBrgb(159, 22, 75)
HSLhsl(337, 76%, 35%)
HSVhsv(337, 86%, 62%)
CMYKcmyk(0%, 86.2%, 52.8%, 37.6%)
CIE-LABlab(34.91, 55.80, 5.97)
CIE-LCHlch(34.91, 56.11, 6.11°)
OKLaboklab(46.13% 0.1708 0.0156)
OKLCHoklch(46.13% 0.172 5.2)
XYZxyz(15.8565, 8.4551, 7.4523)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F164B #169F6A
analogous
#9F1690 #9F164B #9F2516
triadic
#9F164B #4B9F16 #164B9F
tetradic
#9F164B #909F16 #169F6A #25169F
square
#9F164B #909F16 #169F6A #25169F
split-complementary
#9F164B #169F25 #16909F
monochromatic
#330718 #690F32 #9F164B #D51D64 #E64A86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F164B#FFFFFF#000000##FFFFFF
##9F164B1.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)
#3D414C
Deuteranopia (green-blind)
#605C48
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f164b;
/* rgb */ color: rgb(159, 22, 75);
/* oklch */ color: oklch(46.1% 0.172 5.2);
Tailwind
colors: {
  custom: {
    50: '#c2667d',
    500: '#9f164b',
    950: '#000000',
  },
}
SCSS
$custom: #9f164b;
$custom-light: #c2667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f164b",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 336.788,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.17151,
    "h": 5.2
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#9F164B
secondary
#4AC797
accent
#F2A936
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F164B

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

Preview Lab → · Contrast checker → · Palette generator →

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