#9F1D5D#9F1D5D

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

Color values

HEX#9F1D5D
RGBrgb(159, 29, 93)
HSLhsl(330, 69%, 37%)
HSVhsv(330, 82%, 62%)
CMYKcmyk(0%, 81.8%, 41.5%, 37.6%)
CIE-LABlab(36.07, 55.71, -3.99)
CIE-LCHlch(36.07, 55.85, 355.90°)
OKLaboklab(47.15% 0.1715 -0.0098)
OKLCHoklch(47.15% 0.172 356.7)
XYZxyz(16.7145, 9.0422, 11.2190)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D5D #1D9F5F
analogous
#9F1D9E #9F1D5D #9F1E1D
triadic
#9F1D5D #5D9F1D #1D5D9F
tetradic
#9F1D5D #9E9F1D #1D9F5F #1E1D9F
square
#9F1D5D #9E9F1D #1D9F5F #1E1D9F
split-complementary
#9F1D5D #1D9F1E #1D9E9F
monochromatic
#370A20 #6B143F #9F1D5D #D3267B #E0569A

Accessibility & contrast

On white

7.48
#9F1D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D5D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D5D#FFFFFF#000000##FFFFFF
##9F1D5D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455F
Deuteranopia (green-blind)
#5E5D5A
Tritanopia (blue-blind)
#AC013B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1d5d;
/* rgb */ color: rgb(159, 29, 93);
/* oklch */ color: oklch(47.1% 0.172 356.7);
Tailwind
colors: {
  custom: {
    50: '#c1698a',
    500: '#9f1d5d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d5d;
$custom-light: #c1698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d5d",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 330.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.17174,
    "h": 356.7
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#9F1D5D
secondary
#54C48D
accent
#EC953C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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