#9F1D4B#9F1D4B

#9F1D4B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 6.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F1D4B
RGBrgb(159, 29, 75)
HSLhsl(339, 69%, 37%)
HSVhsv(339, 82%, 62%)
CMYKcmyk(0%, 81.8%, 52.8%, 37.6%)
CIE-LABlab(35.52, 54.07, 6.83)
CIE-LCHlch(35.52, 54.50, 7.20°)
OKLaboklab(46.57% 0.1652 0.0177)
OKLCHoklch(46.57% 0.166 6.1)
XYZxyz(16.0089, 8.7600, 7.5031)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D4B #1D9F71
analogous
#9F1D8C #9F1D4B #9F301D
triadic
#9F1D4B #4B9F1D #1D4B9F
tetradic
#9F1D4B #8C9F1D #1D9F71 #301D9F
square
#9F1D4B #8C9F1D #1D9F71 #301D9F
split-complementary
#9F1D4B #1D9F30 #1D8C9F
monochromatic
#370A1A #6B1433 #9F1D4B #D32663 #E05687

Accessibility & contrast

On white

7.63
#9F1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F1D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D4B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D4B#FFFFFF#000000##FFFFFF
##9F1D4B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1d4b;
/* rgb */ color: rgb(159, 29, 75);
/* oklch */ color: oklch(46.6% 0.166 6.1);
Tailwind
colors: {
  custom: {
    50: '#c2687d',
    500: '#9f1d4b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d4b;
$custom-light: #c2687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d4b",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 338.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.16615,
    "h": 6.1
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#9F1D4B
secondary
#54C49C
accent
#ECAE3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F1D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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