#9F1D5E#9F1D5E

#9F1D5E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.172 H 356.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9F1D5E
RGBrgb(159, 29, 94)
HSLhsl(330, 69%, 37%)
HSVhsv(330, 82%, 62%)
CMYKcmyk(0%, 81.8%, 40.9%, 37.6%)
CIE-LABlab(36.10, 55.81, -4.58)
CIE-LCHlch(36.10, 56.00, 355.30°)
OKLaboklab(47.19% 0.1718 -0.0114)
OKLCHoklch(47.19% 0.172 356.2)
XYZxyz(16.7590, 9.0600, 11.4537)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D5E #1D9F5E
analogous
#9F1D9F #9F1D5E #9F1D1D
triadic
#9F1D5E #5E9F1D #1D5E9F
tetradic
#9F1D5E #9F9F1D #1D9F5E #1D1D9F
square
#9F1D5E #9F9F1D #1D9F5E #1D1D9F
split-complementary
#9F1D5E #1D9F1D #1D9F9F
monochromatic
#370A21 #6B143F #9F1D5E #D3267D #E0569B

Accessibility & contrast

On white

7.47
#9F1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F1D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D5E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D5E#FFFFFF#000000##FFFFFF
##9F1D5E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4660
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#AC033B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1d5e;
/* rgb */ color: rgb(159, 29, 94);
/* oklch */ color: oklch(47.2% 0.172 356.2);
Tailwind
colors: {
  custom: {
    50: '#c1698b',
    500: '#9f1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d5e;
$custom-light: #c1698b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d5e",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 330,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.17215,
    "h": 356.2
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#9F1D5E
secondary
#54C48C
accent
#EC943C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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