#9F1A5A#9F1A5A

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

Color values

HEX#9F1A5A
RGBrgb(159, 26, 90)
HSLhsl(331, 72%, 36%)
HSVhsv(331, 84%, 62%)
CMYKcmyk(0%, 83.6%, 43.4%, 37.6%)
CIE-LABlab(35.69, 56.18, -2.61)
CIE-LCHlch(35.69, 56.25, 357.34°)
OKLaboklab(46.85% 0.173 -0.0062)
OKLCHoklch(46.85% 0.173 358)
XYZxyz(16.5142, 8.8501, 10.5095)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A5A #1A9F5F
analogous
#9F1A9D #9F1A5A #9F1D1A
triadic
#9F1A5A #5A9F1A #1A5A9F
tetradic
#9F1A5A #9D9F1A #1A9F5F #1D1A9F
square
#9F1A5A #9D9F1A #1A9F5F #1D1A9F
split-complementary
#9F1A5A #1A9F1D #1A9D9F
monochromatic
#36091E #6A113C #9F1A5A #D42378 #E35197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A5A#FFFFFF#000000##FFFFFF
##9F1A5A1.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)
#3A445B
Deuteranopia (green-blind)
#5E5D57
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a5a;
/* rgb */ color: rgb(159, 26, 90);
/* oklch */ color: oklch(46.8% 0.173 358.0);
Tailwind
colors: {
  custom: {
    50: '#c16888',
    500: '#9f1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a5a;
$custom-light: #c16888;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a5a",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 331.128,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.17311,
    "h": 358
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#9F1A5A
secondary
#50C58D
accent
#EF9739
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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