#9F1A6D#9F1A6D

#9F1A6D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.182 H 348.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F1A6D
RGBrgb(159, 26, 109)
HSLhsl(323, 72%, 36%)
HSVhsv(323, 84%, 62%)
CMYKcmyk(0%, 83.6%, 31.4%, 37.6%)
CIE-LABlab(36.40, 58.21, -13.70)
CIE-LCHlch(36.40, 59.80, 346.76°)
OKLaboklab(47.59% 0.1782 -0.036)
OKLCHoklch(47.59% 0.182 348.6)
XYZxyz(17.4288, 9.2159, 15.3261)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A6D #1A9F4C
analogous
#8F1A9F #9F1A6D #9F1A2B
triadic
#9F1A6D #6D9F1A #1A6D9F
tetradic
#9F1A6D #9F8F1A #1A9F4C #1A2B9F
square
#9F1A6D #9F8F1A #1A9F4C #1A2B9F
split-complementary
#9F1A6D #2B9F1A #1A9F8F
monochromatic
#360925 #6A1149 #9F1A6D #D42391 #E351AC

Accessibility & contrast

On white

7.39
#9F1A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F1A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A6D
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A6D#FFFFFF#000000##FFFFFF
##9F1A6D1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#AB1042
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1a6d;
/* rgb */ color: rgb(159, 26, 109);
/* oklch */ color: oklch(47.6% 0.182 348.6);
Tailwind
colors: {
  custom: {
    50: '#c06897',
    500: '#9f1a6d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a6d;
$custom-light: #c06897;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a6d",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 322.556,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.18175,
    "h": 348.6
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#9F1A6D
secondary
#50C57C
accent
#EF7D39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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