#9F1D4A#9F1D4A

#9F1D4A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.166 H 6.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9F1D4A
RGBrgb(159, 29, 74)
HSLhsl(339, 69%, 37%)
HSVhsv(339, 82%, 62%)
CMYKcmyk(0%, 81.8%, 53.5%, 37.6%)
CIE-LABlab(35.49, 53.99, 7.44)
CIE-LCHlch(35.49, 54.50, 7.85°)
OKLaboklab(46.54% 0.1648 0.0192)
OKLCHoklch(46.54% 0.166 6.7)
XYZxyz(15.9750, 8.7464, 7.3243)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D4A #1D9F72
analogous
#9F1D8B #9F1D4A #9F311D
triadic
#9F1D4A #4A9F1D #1D4A9F
tetradic
#9F1D4A #8B9F1D #1D9F72 #311D9F
square
#9F1D4A #8B9F1D #1D9F72 #311D9F
split-complementary
#9F1D4A #1D9F31 #1D8B9F
monochromatic
#370A1A #6B1432 #9F1D4A #D32662 #E05686

Accessibility & contrast

On white

7.64
#9F1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D4A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D4A#FFFFFF#000000##FFFFFF
##9F1D4A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#625D47
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d4a;
/* rgb */ color: rgb(159, 29, 74);
/* oklch */ color: oklch(46.5% 0.166 6.7);
Tailwind
colors: {
  custom: {
    50: '#c2687c',
    500: '#9f1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d4a;
$custom-light: #c2687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d4a",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 339.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.16594,
    "h": 6.7
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#9F1D4A
secondary
#54C49D
accent
#ECAF3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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