#9F1A5E#9F1A5E

#9F1A5E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.175 H 355.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9F1A5E
RGBrgb(159, 26, 94)
HSLhsl(329, 72%, 36%)
HSVhsv(329, 84%, 62%)
CMYKcmyk(0%, 83.6%, 40.9%, 37.6%)
CIE-LABlab(35.83, 56.58, -4.99)
CIE-LCHlch(35.83, 56.80, 354.96°)
OKLaboklab(46.99% 0.1742 -0.0124)
OKLCHoklch(46.99% 0.175 355.9)
XYZxyz(16.6891, 8.9201, 11.4304)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A5E #1A9F5B
analogous
#9E1A9F #9F1A5E #9F1A1C
triadic
#9F1A5E #5E9F1A #1A5E9F
tetradic
#9F1A5E #9F9E1A #1A9F5B #1A1C9F
square
#9F1A5E #9F9E1A #1A9F5B #1A1C9F
split-complementary
#9F1A5E #1C9F1A #1A9F9E
monochromatic
#360920 #6A113F #9F1A5E #D4237D #E3519B

Accessibility & contrast

On white

7.54
#9F1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F1A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A5E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A5E#FFFFFF#000000##FFFFFF
##9F1A5E1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#AC003A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a5e;
/* rgb */ color: rgb(159, 26, 94);
/* oklch */ color: oklch(47.0% 0.175 355.9);
Tailwind
colors: {
  custom: {
    50: '#c1688b',
    500: '#9f1a5e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a5e;
$custom-light: #c1688b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a5e",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 329.323,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.17468,
    "h": 355.9
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#9F1A5E
secondary
#50C589
accent
#EF9239
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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