#9F1A49#9F1A49

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

Color values

HEX#9F1A49
RGBrgb(159, 26, 73)
HSLhsl(339, 72%, 36%)
HSVhsv(339, 84%, 62%)
CMYKcmyk(0%, 83.6%, 54.1%, 37.6%)
CIE-LABlab(35.19, 54.70, 7.66)
CIE-LCHlch(35.19, 55.23, 7.97°)
OKLaboklab(46.31% 0.167 0.0198)
OKLCHoklch(46.31% 0.168 6.7)
XYZxyz(15.8716, 8.5931, 7.1249)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A49 #1A9F70
analogous
#9F1A8C #9F1A49 #9F2E1A
triadic
#9F1A49 #499F1A #1A499F
tetradic
#9F1A49 #8C9F1A #1A9F70 #2E1A9F
square
#9F1A49 #8C9F1A #1A9F70 #2E1A9F
split-complementary
#9F1A49 #1A9F2E #1A8C9F
monochromatic
#360919 #6A1131 #9F1A49 #D42361 #E35184

Accessibility & contrast

On white

7.73
#9F1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A49
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A49#FFFFFF#000000##FFFFFF
##9F1A491.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1a49;
/* rgb */ color: rgb(159, 26, 73);
/* oklch */ color: oklch(46.3% 0.168 6.7);
Tailwind
colors: {
  custom: {
    50: '#c2677b',
    500: '#9f1a49',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a49;
$custom-light: #c2677b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a49",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 338.797,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.16815,
    "h": 6.7
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#9F1A49
secondary
#50C59C
accent
#EFAF39
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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