#9F1A4D#9F1A4D

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

Color values

HEX#9F1A4D
RGBrgb(159, 26, 77)
HSLhsl(337, 72%, 36%)
HSVhsv(337, 84%, 62%)
CMYKcmyk(0%, 83.6%, 51.6%, 37.6%)
CIE-LABlab(35.30, 55.02, 5.22)
CIE-LCHlch(35.30, 55.26, 5.42°)
OKLaboklab(46.43% 0.1685 0.0138)
OKLCHoklch(46.43% 0.169 4.7)
XYZxyz(16.0085, 8.6478, 7.8460)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A4D #1A9F6C
analogous
#9F1A90 #9F1A4D #9F291A
triadic
#9F1A4D #4D9F1A #1A4D9F
tetradic
#9F1A4D #909F1A #1A9F6C #291A9F
square
#9F1A4D #909F1A #1A9F6C #291A9F
split-complementary
#9F1A4D #1A9F29 #1A909F
monochromatic
#36091A #6A1134 #9F1A4D #D42366 #E35189

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A4D#FFFFFF#000000##FFFFFF
##9F1A4D1.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)
#3E424E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1a4d;
/* rgb */ color: rgb(159, 26, 77);
/* oklch */ color: oklch(46.4% 0.169 4.7);
Tailwind
colors: {
  custom: {
    50: '#c2677e',
    500: '#9f1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a4d;
$custom-light: #c2677e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a4d",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 336.992,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.16905,
    "h": 4.7
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#9F1A4D
secondary
#50C598
accent
#EFA939
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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