#9F1A56#9F1A56

#9F1A56 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.172 H 0.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9F1A56
RGBrgb(159, 26, 86)
HSLhsl(333, 72%, 36%)
HSVhsv(333, 84%, 62%)
CMYKcmyk(0%, 83.6%, 45.9%, 37.6%)
CIE-LABlab(35.56, 55.81, -0.23)
CIE-LCHlch(35.56, 55.81, 359.77°)
OKLaboklab(46.71% 0.1717 0)
OKLCHoklch(46.71% 0.172 0)
XYZxyz(16.3485, 8.7838, 9.6369)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A56 #1A9F63
analogous
#9F1A99 #9F1A56 #9F201A
triadic
#9F1A56 #569F1A #1A569F
tetradic
#9F1A56 #999F1A #1A9F63 #201A9F
square
#9F1A56 #999F1A #1A9F63 #201A9F
split-complementary
#9F1A56 #1A9F20 #1A999F
monochromatic
#36091D #6A113A #9F1A56 #D42372 #E35193

Accessibility & contrast

On white

7.62
#9F1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A56
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A56#FFFFFF#000000##FFFFFF
##9F1A561.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#5F5D53
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a56;
/* rgb */ color: rgb(159, 26, 86);
/* oklch */ color: oklch(46.7% 0.172 0.0);
Tailwind
colors: {
  custom: {
    50: '#c16785',
    500: '#9f1a56',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a56;
$custom-light: #c16785;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a56",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 332.932,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.17169,
    "h": 0
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#9F1A56
secondary
#50C590
accent
#EF9D39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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