#9F1A6F#9F1A6F

#9F1A6F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.183 H 347.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F1A6F
RGBrgb(159, 26, 111)
HSLhsl(322, 72%, 36%)
HSVhsv(322, 84%, 62%)
CMYKcmyk(0%, 83.6%, 30.2%, 37.6%)
CIE-LABlab(36.48, 58.45, -14.84)
CIE-LCHlch(36.48, 60.30, 345.76°)
OKLaboklab(47.67% 0.1786 -0.0391)
OKLCHoklch(47.67% 0.183 347.6)
XYZxyz(17.5377, 9.2595, 15.8996)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A6F #1A9F4A
analogous
#8D1A9F #9F1A6F #9F1A2D
triadic
#9F1A6F #6F9F1A #1A6F9F
tetradic
#9F1A6F #9F8D1A #1A9F4A #1A2D9F
square
#9F1A6F #9F8D1A #1A9F4A #1A2D9F
split-complementary
#9F1A6F #2D9F1A #1A9F8D
monochromatic
#360926 #6A114A #9F1A6F #D42394 #E351AE

Accessibility & contrast

On white

7.36
#9F1A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F1A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A6F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A6F#FFFFFF#000000##FFFFFF
##9F1A6F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#AB1244
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1a6f;
/* rgb */ color: rgb(159, 26, 111);
/* oklch */ color: oklch(47.7% 0.183 347.6);
Tailwind
colors: {
  custom: {
    50: '#c06898',
    500: '#9f1a6f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a6f;
$custom-light: #c06898;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a6f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 321.654,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.18282,
    "h": 347.6
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#9F1A6F
secondary
#50C57A
accent
#EF7B39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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