#9F1F59#9F1F59

#9F1F59 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.168 H 359.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9F1F59
RGBrgb(159, 31, 89)
HSLhsl(333, 67%, 37%)
HSVhsv(333, 81%, 62%)
CMYKcmyk(0%, 80.5%, 44%, 37.6%)
CIE-LABlab(36.13, 54.76, -1.33)
CIE-LCHlch(36.13, 54.77, 358.60°)
OKLaboklab(47.15% 0.1684 -0.0028)
OKLCHoklch(47.15% 0.168 359)
XYZxyz(16.5925, 9.0744, 10.3270)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F59 #1F9F65
analogous
#9F1F99 #9F1F59 #9F251F
triadic
#9F1F59 #599F1F #1F599F
tetradic
#9F1F59 #999F1F #1F9F65 #251F9F
square
#9F1F59 #999F1F #1F9F65 #251F9F
split-complementary
#9F1F59 #1F9F25 #1F999F
monochromatic
#390B20 #6C153C #9F1F59 #D22976 #DF5A96

Accessibility & contrast

On white

7.46
#9F1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F59
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F59#FFFFFF#000000##FFFFFF
##9F1F591.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465A
Deuteranopia (green-blind)
#605E56
Tritanopia (blue-blind)
#AD0139
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1f59;
/* rgb */ color: rgb(159, 31, 89);
/* oklch */ color: oklch(47.2% 0.168 359.0);
Tailwind
colors: {
  custom: {
    50: '#c16987',
    500: '#9f1f59',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f59;
$custom-light: #c16987;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f59",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 332.813,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.16842,
    "h": 359
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#9F1F59
secondary
#57C392
accent
#EA9C3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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