#9F1A6A#9F1A6A

#9F1A6A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.180 H 350.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9F1A6A
RGBrgb(159, 26, 106)
HSLhsl(324, 72%, 36%)
HSVhsv(324, 84%, 62%)
CMYKcmyk(0%, 83.6%, 33.3%, 37.6%)
CIE-LABlab(36.28, 57.87, -11.98)
CIE-LCHlch(36.28, 59.10, 348.31°)
OKLaboklab(47.46% 0.1775 -0.0313)
OKLCHoklch(47.46% 0.18 350)
XYZxyz(17.2700, 9.1524, 14.4900)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A6A #1A9F4F
analogous
#921A9F #9F1A6A #9F1A27
triadic
#9F1A6A #6A9F1A #1A6A9F
tetradic
#9F1A6A #9F921A #1A9F4F #1A279F
square
#9F1A6A #9F921A #1A9F4F #1A279F
split-complementary
#9F1A6A #279F1A #1A9F92
monochromatic
#360924 #6A1147 #9F1A6A #D4238D #E351A8

Accessibility & contrast

On white

7.42
#9F1A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A6A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A6A#FFFFFF#000000##FFFFFF
##9F1A6A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466C
Deuteranopia (green-blind)
#5A5E67
Tritanopia (blue-blind)
#AB0C41
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1a6a;
/* rgb */ color: rgb(159, 26, 106);
/* oklch */ color: oklch(47.5% 0.180 350.0);
Tailwind
colors: {
  custom: {
    50: '#c06894',
    500: '#9f1a6a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a6a;
$custom-light: #c06894;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a6a",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 323.91,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.1802,
    "h": 350
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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