#9F1A57#9F1A57

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

Color values

HEX#9F1A57
RGBrgb(159, 26, 87)
HSLhsl(332, 72%, 36%)
HSVhsv(332, 84%, 62%)
CMYKcmyk(0%, 83.6%, 45.3%, 37.6%)
CIE-LABlab(35.60, 55.90, -0.82)
CIE-LCHlch(35.60, 55.90, 359.16°)
OKLaboklab(46.74% 0.172 -0.0015)
OKLCHoklch(46.74% 0.172 359.5)
XYZxyz(16.3891, 8.8001, 9.8505)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A57 #1A9F62
analogous
#9F1A9A #9F1A57 #9F1F1A
triadic
#9F1A57 #579F1A #1A579F
tetradic
#9F1A57 #9A9F1A #1A9F62 #1F1A9F
square
#9F1A57 #9A9F1A #1A9F62 #1F1A9F
split-complementary
#9F1A57 #1A9F1F #1A9A9F
monochromatic
#36091D #6A113A #9F1A57 #D42374 #E35194

Accessibility & contrast

On white

7.61
#9F1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A57
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A57#FFFFFF#000000##FFFFFF
##9F1A571.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4458
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a57;
/* rgb */ color: rgb(159, 26, 87);
/* oklch */ color: oklch(46.7% 0.172 359.5);
Tailwind
colors: {
  custom: {
    50: '#c16786',
    500: '#9f1a57',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a57;
$custom-light: #c16786;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a57",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 332.481,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.17203,
    "h": 359.5
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#9F1A57
secondary
#50C58F
accent
#EF9B39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1A57

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

Preview Lab → · Contrast checker → · Palette generator →

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