#9F1D49#9F1D49

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

Color values

HEX#9F1D49
RGBrgb(159, 29, 73)
HSLhsl(340, 69%, 37%)
HSVhsv(340, 82%, 62%)
CMYKcmyk(0%, 81.8%, 54.1%, 37.6%)
CIE-LABlab(35.47, 53.91, 8.05)
CIE-LCHlch(35.47, 54.51, 8.49°)
OKLaboklab(46.51% 0.1644 0.0207)
OKLCHoklch(46.51% 0.166 7.2)
XYZxyz(15.9415, 8.7330, 7.1482)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D49 #1D9F73
analogous
#9F1D8A #9F1D49 #9F321D
triadic
#9F1D49 #499F1D #1D499F
tetradic
#9F1D49 #8A9F1D #1D9F73 #321D9F
square
#9F1D49 #8A9F1D #1D9F73 #321D9F
split-complementary
#9F1D49 #1D9F32 #1D8A9F
monochromatic
#370A19 #6B1431 #9F1D49 #D32661 #E05685

Accessibility & contrast

On white

7.65
#9F1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D49
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D49#FFFFFF#000000##FFFFFF
##9F1D491.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434A
Deuteranopia (green-blind)
#625D46
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d49;
/* rgb */ color: rgb(159, 29, 73);
/* oklch */ color: oklch(46.5% 0.166 7.2);
Tailwind
colors: {
  custom: {
    50: '#c2687b',
    500: '#9f1d49',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d49;
$custom-light: #c2687b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d49",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 339.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.16574,
    "h": 7.2
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#9F1D49
secondary
#54C49E
accent
#ECB03C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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