#9F1D5B#9F1D5B

#9F1D5B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 357.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9F1D5B
RGBrgb(159, 29, 91)
HSLhsl(331, 69%, 37%)
HSVhsv(331, 82%, 62%)
CMYKcmyk(0%, 81.8%, 42.8%, 37.6%)
CIE-LABlab(36.00, 55.51, -2.81)
CIE-LCHlch(36.00, 55.58, 357.10°)
OKLaboklab(47.08% 0.1708 -0.0067)
OKLCHoklch(47.08% 0.171 357.8)
XYZxyz(16.6270, 9.0072, 10.7585)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D5B #1D9F61
analogous
#9F1D9C #9F1D5B #9F201D
triadic
#9F1D5B #5B9F1D #1D5B9F
tetradic
#9F1D5B #9C9F1D #1D9F61 #201D9F
square
#9F1D5B #9C9F1D #1D9F61 #201D9F
split-complementary
#9F1D5B #1D9F20 #1D9C9F
monochromatic
#370A20 #6B143D #9F1D5B #D32679 #E05698

Accessibility & contrast

On white

7.50
#9F1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9F1D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D5B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D5B#FFFFFF#000000##FFFFFF
##9F1D5B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#5F5D58
Tritanopia (blue-blind)
#AD003A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1d5b;
/* rgb */ color: rgb(159, 29, 91);
/* oklch */ color: oklch(47.1% 0.171 357.8);
Tailwind
colors: {
  custom: {
    50: '#c16989',
    500: '#9f1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d5b;
$custom-light: #c16989;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d5b",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 331.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.17096,
    "h": 357.8
  },
  "luminance": 0.09005
}

Semantic roles & 50–950 ramp

primary
#9F1D5B
secondary
#54C48E
accent
#EC983C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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