#9F164A#9F164A

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

Color values

HEX#9F164A
RGBrgb(159, 22, 74)
HSLhsl(337, 76%, 35%)
HSVhsv(337, 86%, 62%)
CMYKcmyk(0%, 86.2%, 53.5%, 37.6%)
CIE-LABlab(34.89, 55.72, 6.58)
CIE-LCHlch(34.89, 56.10, 6.74°)
OKLaboklab(46.1% 0.1704 0.0171)
OKLCHoklch(46.1% 0.171 5.7)
XYZxyz(15.8225, 8.4415, 7.2735)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F164A #169F6B
analogous
#9F168F #9F164A #9F2616
triadic
#9F164A #4A9F16 #164A9F
tetradic
#9F164A #8F9F16 #169F6B #26169F
square
#9F164A #8F9F16 #169F6B #26169F
split-complementary
#9F164A #169F26 #168F9F
monochromatic
#330718 #690F31 #9F164A #D51D63 #E64A85

Accessibility & contrast

On white

7.81
#9F164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F164A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F164A#FFFFFF#000000##FFFFFF
##9F164A1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414B
Deuteranopia (green-blind)
#615B47
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f164a;
/* rgb */ color: rgb(159, 22, 74);
/* oklch */ color: oklch(46.1% 0.171 5.7);
Tailwind
colors: {
  custom: {
    50: '#c2667c',
    500: '#9f164a',
    950: '#000000',
  },
}
SCSS
$custom: #9f164a;
$custom-light: #c2667c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f164a",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 337.226,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.17128,
    "h": 5.7
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#9F164A
secondary
#4AC798
accent
#F2AB36
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F164A

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

Preview Lab → · Contrast checker → · Palette generator →

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