#9F1A5B#9F1A5B

#9F1A5B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.173 H 357.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9F1A5B
RGBrgb(159, 26, 91)
HSLhsl(331, 72%, 36%)
HSVhsv(331, 84%, 62%)
CMYKcmyk(0%, 83.6%, 42.8%, 37.6%)
CIE-LABlab(35.73, 56.28, -3.21)
CIE-LCHlch(35.73, 56.37, 356.74°)
OKLaboklab(46.88% 0.1733 -0.0077)
OKLCHoklch(46.88% 0.173 357.4)
XYZxyz(16.5571, 8.8673, 10.7352)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A5B #1A9F5E
analogous
#9F1A9E #9F1A5B #9F1C1A
triadic
#9F1A5B #5B9F1A #1A5B9F
tetradic
#9F1A5B #9E9F1A #1A9F5E #1C1A9F
square
#9F1A5B #9E9F1A #1A9F5E #1C1A9F
split-complementary
#9F1A5B #1A9F1C #1A9E9F
monochromatic
#36091F #6A113D #9F1A5B #D42379 #E35198

Accessibility & contrast

On white

7.57
#9F1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A5B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A5B#FFFFFF#000000##FFFFFF
##9F1A5B1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#5E5D58
Tritanopia (blue-blind)
#AD0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a5b;
/* rgb */ color: rgb(159, 26, 91);
/* oklch */ color: oklch(46.9% 0.173 357.4);
Tailwind
colors: {
  custom: {
    50: '#c16889',
    500: '#9f1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a5b;
$custom-light: #c16889;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a5b",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 330.677,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.17348,
    "h": 357.4
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#9F1A5B
secondary
#50C58C
accent
#EF9639
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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