#9F1B6F#9F1B6F

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

Color values

HEX#9F1B6F
RGBrgb(159, 27, 111)
HSLhsl(322, 71%, 36%)
HSVhsv(322, 83%, 62%)
CMYKcmyk(0%, 83%, 30.2%, 37.6%)
CIE-LABlab(36.56, 58.20, -14.71)
CIE-LCHlch(36.56, 60.03, 345.82°)
OKLaboklab(47.73% 0.1778 -0.0388)
OKLCHoklch(47.73% 0.182 347.7)
XYZxyz(17.5602, 9.3046, 15.9071)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B6F #1B9F4B
analogous
#8D1B9F #9F1B6F #9F1B2D
triadic
#9F1B6F #6F9F1B #1B6F9F
tetradic
#9F1B6F #9F8D1B #1B9F4B #1B2D9F
square
#9F1B6F #9F8D1B #1B9F4B #1B2D9F
split-complementary
#9F1B6F #2D9F1B #1B9F8D
monochromatic
#360926 #6B124A #9F1B6F #D32494 #E253AE

Accessibility & contrast

On white

7.34
#9F1B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B6F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B6F#FFFFFF#000000##FFFFFF
##9F1B6F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b6f;
/* rgb */ color: rgb(159, 27, 111);
/* oklch */ color: oklch(47.7% 0.182 347.7);
Tailwind
colors: {
  custom: {
    50: '#c06998',
    500: '#9f1b6f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b6f;
$custom-light: #c06998;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b6f",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 321.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.18199,
    "h": 347.7
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#9F1B6F
secondary
#51C57B
accent
#EE7B3A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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