#9F1A6B#9F1A6B

#9F1A6B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.181 H 349.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9F1A6B
RGBrgb(159, 26, 107)
HSLhsl(323, 72%, 36%)
HSVhsv(323, 84%, 62%)
CMYKcmyk(0%, 83.6%, 32.7%, 37.6%)
CIE-LABlab(36.32, 57.98, -12.55)
CIE-LCHlch(36.32, 59.33, 347.78°)
OKLaboklab(47.5% 0.1777 -0.0328)
OKLCHoklch(47.5% 0.181 349.5)
XYZxyz(17.3223, 9.1734, 14.7655)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A6B #1A9F4E
analogous
#911A9F #9F1A6B #9F1A28
triadic
#9F1A6B #6B9F1A #1A6B9F
tetradic
#9F1A6B #9F911A #1A9F4E #1A289F
square
#9F1A6B #9F911A #1A9F4E #1A289F
split-complementary
#9F1A6B #289F1A #1A9F91
monochromatic
#360924 #6A1148 #9F1A6B #D4238E #E351AA

Accessibility & contrast

On white

7.41
#9F1A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F1A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A6B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A6B#FFFFFF#000000##FFFFFF
##9F1A6B1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#5A5E68
Tritanopia (blue-blind)
#AB0D41
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1a6b;
/* rgb */ color: rgb(159, 26, 107);
/* oklch */ color: oklch(47.5% 0.181 349.5);
Tailwind
colors: {
  custom: {
    50: '#c06895',
    500: '#9f1a6b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a6b;
$custom-light: #c06895;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a6b",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 323.459,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.18071,
    "h": 349.5
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#9F1A6B
secondary
#50C57E
accent
#EF8039
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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