#9F1B58#9F1B58

#9F1B58 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.172 H 359.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9F1B58
RGBrgb(159, 27, 88)
HSLhsl(332, 71%, 36%)
HSVhsv(332, 83%, 62%)
CMYKcmyk(0%, 83%, 44.7%, 37.6%)
CIE-LABlab(35.72, 55.74, -1.29)
CIE-LCHlch(35.72, 55.76, 358.67°)
OKLaboklab(46.84% 0.1715 -0.0027)
OKLCHoklch(46.84% 0.172 359.1)
XYZxyz(16.4528, 8.8616, 10.0747)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B58 #1B9F62
analogous
#9F1B9A #9F1B58 #9F201B
triadic
#9F1B58 #589F1B #1B589F
tetradic
#9F1B58 #9A9F1B #1B9F62 #201B9F
square
#9F1B58 #9A9F1B #1B9F62 #201B9F
split-complementary
#9F1B58 #1B9F20 #1B9A9F
monochromatic
#36091E #6B123B #9F1B58 #D32475 #E25395

Accessibility & contrast

On white

7.58
#9F1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B58
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B58#FFFFFF#000000##FFFFFF
##9F1B581.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1b58;
/* rgb */ color: rgb(159, 27, 88);
/* oklch */ color: oklch(46.8% 0.172 359.1);
Tailwind
colors: {
  custom: {
    50: '#c16887',
    500: '#9f1b58',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b58;
$custom-light: #c16887;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b58",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 332.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.17156,
    "h": 359.1
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#9F1B58
secondary
#51C58F
accent
#EE9B3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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