#9F1B56#9F1B56

#9F1B56 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.171 H 0.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9F1B56
RGBrgb(159, 27, 86)
HSLhsl(333, 71%, 36%)
HSVhsv(333, 83%, 62%)
CMYKcmyk(0%, 83%, 45.9%, 37.6%)
CIE-LABlab(35.65, 55.55, -0.10)
CIE-LCHlch(35.65, 55.55, 359.90°)
OKLaboklab(46.77% 0.1709 0.0004)
OKLCHoklch(46.77% 0.171 0.1)
XYZxyz(16.3711, 8.8289, 9.6444)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B56 #1B9F64
analogous
#9F1B98 #9F1B56 #9F221B
triadic
#9F1B56 #569F1B #1B569F
tetradic
#9F1B56 #989F1B #1B9F64 #221B9F
square
#9F1B56 #989F1B #1B9F64 #221B9F
split-complementary
#9F1B56 #1B9F22 #1B989F
monochromatic
#36091D #6B123A #9F1B56 #D32472 #E25393

Accessibility & contrast

On white

7.59
#9F1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B56
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B56#FFFFFF#000000##FFFFFF
##9F1B561.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#5F5D53
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1b56;
/* rgb */ color: rgb(159, 27, 86);
/* oklch */ color: oklch(46.8% 0.171 0.1);
Tailwind
colors: {
  custom: {
    50: '#c16885',
    500: '#9f1b56',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b56;
$custom-light: #c16885;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b56",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 333.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.17087,
    "h": 0.1
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#9F1B56
secondary
#51C591
accent
#EE9D3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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