#9F1B4A#9F1B4A

#9F1B4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.168 H 6.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9F1B4A
RGBrgb(159, 27, 74)
HSLhsl(339, 71%, 36%)
HSVhsv(339, 83%, 62%)
CMYKcmyk(0%, 83%, 53.5%, 37.6%)
CIE-LABlab(35.30, 54.52, 7.18)
CIE-LCHlch(35.30, 54.99, 7.50°)
OKLaboklab(46.4% 0.1665 0.0186)
OKLCHoklch(46.4% 0.168 6.4)
XYZxyz(15.9275, 8.6515, 7.3085)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B4A #1B9F70
analogous
#9F1B8C #9F1B4A #9F2E1B
triadic
#9F1B4A #4A9F1B #1B4A9F
tetradic
#9F1B4A #8C9F1B #1B9F70 #2E1B9F
square
#9F1B4A #8C9F1B #1B9F70 #2E1B9F
split-complementary
#9F1B4A #1B9F2E #1B8C9F
monochromatic
#360919 #6B1232 #9F1B4A #D32462 #E25386

Accessibility & contrast

On white

7.69
#9F1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9F1B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B4A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B4A#FFFFFF#000000##FFFFFF
##9F1B4A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#625C47
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1b4a;
/* rgb */ color: rgb(159, 27, 74);
/* oklch */ color: oklch(46.4% 0.168 6.4);
Tailwind
colors: {
  custom: {
    50: '#c2677c',
    500: '#9f1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b4a;
$custom-light: #c2677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b4a",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 338.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.16757,
    "h": 6.4
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#9F1B4A
secondary
#51C59C
accent
#EEAE3A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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