#9F1B4D#9F1B4D

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

Color values

HEX#9F1B4D
RGBrgb(159, 27, 77)
HSLhsl(337, 71%, 36%)
HSVhsv(337, 83%, 62%)
CMYKcmyk(0%, 83%, 51.6%, 37.6%)
CIE-LABlab(35.39, 54.76, 5.34)
CIE-LCHlch(35.39, 55.02, 5.57°)
OKLaboklab(46.49% 0.1677 0.0141)
OKLCHoklch(46.49% 0.168 4.8)
XYZxyz(16.0310, 8.6929, 7.8535)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B4D #1B9F6D
analogous
#9F1B8F #9F1B4D #9F2B1B
triadic
#9F1B4D #4D9F1B #1B4D9F
tetradic
#9F1B4D #8F9F1B #1B9F6D #2B1B9F
square
#9F1B4D #8F9F1B #1B9F6D #2B1B9F
split-complementary
#9F1B4D #1B9F2B #1B8F9F
monochromatic
#36091A #6B1234 #9F1B4D #D32466 #E25389

Accessibility & contrast

On white

7.67
#9F1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F1B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B4D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B4D#FFFFFF#000000##FFFFFF
##9F1B4D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b4d;
/* rgb */ color: rgb(159, 27, 77);
/* oklch */ color: oklch(46.5% 0.168 4.8);
Tailwind
colors: {
  custom: {
    50: '#c1677e',
    500: '#9f1b4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b4d;
$custom-light: #c1677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b4d",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 337.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4649,
    "c": 0.16826,
    "h": 4.8
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#9F1B4D
secondary
#51C599
accent
#EEAA3A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F1B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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