#9F1B6E#9F1B6E

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

Color values

HEX#9F1B6E
RGBrgb(159, 27, 110)
HSLhsl(322, 71%, 36%)
HSVhsv(322, 83%, 62%)
CMYKcmyk(0%, 83%, 30.8%, 37.6%)
CIE-LABlab(36.52, 58.09, -14.14)
CIE-LCHlch(36.52, 59.78, 346.32°)
OKLaboklab(47.69% 0.1776 -0.0372)
OKLCHoklch(47.69% 0.181 348.2)
XYZxyz(17.5054, 9.2827, 15.6187)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B6E #1B9F4C
analogous
#8E1B9F #9F1B6E #9F1B2C
triadic
#9F1B6E #6E9F1B #1B6E9F
tetradic
#9F1B6E #9F8E1B #1B9F4C #1B2C9F
square
#9F1B6E #9F8E1B #1B9F4C #1B2C9F
split-complementary
#9F1B6E #2C9F1B #1B9F8E
monochromatic
#360926 #6B124A #9F1B6E #D32492 #E253AD

Accessibility & contrast

On white

7.35
#9F1B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F1B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B6E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B6E#FFFFFF#000000##FFFFFF
##9F1B6E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#AB1243
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1b6e;
/* rgb */ color: rgb(159, 27, 110);
/* oklch */ color: oklch(47.7% 0.181 348.2);
Tailwind
colors: {
  custom: {
    50: '#c06997',
    500: '#9f1b6e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b6e;
$custom-light: #c06997;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b6e",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 322.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.18146,
    "h": 348.2
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#9F1B6E
secondary
#51C57C
accent
#EE7D3A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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