#9F1A4A#9F1A4A

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

Color values

HEX#9F1A4A
RGBrgb(159, 26, 74)
HSLhsl(338, 72%, 36%)
HSVhsv(338, 84%, 62%)
CMYKcmyk(0%, 83.6%, 53.5%, 37.6%)
CIE-LABlab(35.22, 54.77, 7.05)
CIE-LCHlch(35.22, 55.23, 7.33°)
OKLaboklab(46.34% 0.1674 0.0183)
OKLCHoklch(46.34% 0.168 6.2)
XYZxyz(15.9050, 8.6064, 7.3009)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A4A #1A9F6F
analogous
#9F1A8D #9F1A4A #9F2D1A
triadic
#9F1A4A #4A9F1A #1A4A9F
tetradic
#9F1A4A #8D9F1A #1A9F6F #2D1A9F
square
#9F1A4A #8D9F1A #1A9F6F #2D1A9F
split-complementary
#9F1A4A #1A9F2D #1A8D9F
monochromatic
#360919 #6A1132 #9F1A4A #D42362 #E35185

Accessibility & contrast

On white

7.72
#9F1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A4A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A4A#FFFFFF#000000##FFFFFF
##9F1A4A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1a4a;
/* rgb */ color: rgb(159, 26, 74);
/* oklch */ color: oklch(46.3% 0.168 6.2);
Tailwind
colors: {
  custom: {
    50: '#c2677c',
    500: '#9f1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a4a;
$custom-light: #c2677c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a4a",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 338.346,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.16836,
    "h": 6.2
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#9F1A4A
secondary
#50C59B
accent
#EFAD39
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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