#9F1A47#9F1A47

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

Color values

HEX#9F1A47
RGBrgb(159, 26, 71)
HSLhsl(340, 72%, 36%)
HSVhsv(340, 84%, 62%)
CMYKcmyk(0%, 83.6%, 55.3%, 37.6%)
CIE-LABlab(35.14, 54.54, 8.89)
CIE-LCHlch(35.14, 55.26, 9.26°)
OKLaboklab(46.26% 0.1662 0.0227)
OKLCHoklch(46.26% 0.168 7.8)
XYZxyz(15.8063, 8.5670, 6.7813)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A47 #1A9F72
analogous
#9F1A8A #9F1A47 #9F301A
triadic
#9F1A47 #479F1A #1A479F
tetradic
#9F1A47 #8A9F1A #1A9F72 #301A9F
square
#9F1A47 #8A9F1A #1A9F72 #301A9F
split-complementary
#9F1A47 #1A9F30 #1A8A9F
monochromatic
#360918 #6A1130 #9F1A47 #D4235E #E35182

Accessibility & contrast

On white

7.74
#9F1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A47
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A47#FFFFFF#000000##FFFFFF
##9F1A471.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1a47;
/* rgb */ color: rgb(159, 26, 71);
/* oklch */ color: oklch(46.3% 0.168 7.8);
Tailwind
colors: {
  custom: {
    50: '#c26779',
    500: '#9f1a47',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a47;
$custom-light: #c26779;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a47",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 339.699,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.16775,
    "h": 7.8
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#9F1A47
secondary
#50C59D
accent
#EFB139
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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