#9F1D4C#9F1D4C

#9F1D4C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 5.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9F1D4C
RGBrgb(159, 29, 76)
HSLhsl(338, 69%, 37%)
HSVhsv(338, 82%, 62%)
CMYKcmyk(0%, 81.8%, 52.2%, 37.6%)
CIE-LABlab(35.54, 54.15, 6.22)
CIE-LCHlch(35.54, 54.51, 6.55°)
OKLaboklab(46.6% 0.1656 0.0163)
OKLCHoklch(46.6% 0.166 5.6)
XYZxyz(16.0434, 8.7737, 7.6848)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D4C #1D9F70
analogous
#9F1D8D #9F1D4C #9F2F1D
triadic
#9F1D4C #4C9F1D #1D4C9F
tetradic
#9F1D4C #8D9F1D #1D9F70 #2F1D9F
square
#9F1D4C #8D9F1D #1D9F70 #2F1D9F
split-complementary
#9F1D4C #1D9F2F #1D8D9F
monochromatic
#370A1B #6B1433 #9F1D4C #D32665 #E05688

Accessibility & contrast

On white

7.62
#9F1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D4C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D4C#FFFFFF#000000##FFFFFF
##9F1D4C1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1d4c;
/* rgb */ color: rgb(159, 29, 76);
/* oklch */ color: oklch(46.6% 0.166 5.6);
Tailwind
colors: {
  custom: {
    50: '#c1687d',
    500: '#9f1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d4c;
$custom-light: #c1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d4c",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 338.308,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.16638,
    "h": 5.6
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#9F1D4C
secondary
#54C49B
accent
#ECAC3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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