#9F1D52#9F1D52

#9F1D52 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.168 H 2.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9F1D52
RGBrgb(159, 29, 82)
HSLhsl(336, 69%, 37%)
HSVhsv(336, 82%, 62%)
CMYKcmyk(0%, 81.8%, 48.4%, 37.6%)
CIE-LABlab(35.72, 54.66, 2.58)
CIE-LCHlch(35.72, 54.72, 2.70°)
OKLaboklab(46.78% 0.1678 0.0072)
OKLCHoklch(46.78% 0.168 2.5)
XYZxyz(16.2618, 8.8611, 8.8351)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D52 #1D9F6A
analogous
#9F1D93 #9F1D52 #9F291D
triadic
#9F1D52 #529F1D #1D529F
tetradic
#9F1D52 #939F1D #1D9F6A #291D9F
square
#9F1D52 #939F1D #1D9F6A #291D9F
split-complementary
#9F1D52 #1D9F29 #1D939F
monochromatic
#370A1D #6B1437 #9F1D52 #D3266D #E0568E

Accessibility & contrast

On white

7.58
#9F1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D52
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D52#FFFFFF#000000##FFFFFF
##9F1D521.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1d52;
/* rgb */ color: rgb(159, 29, 82);
/* oklch */ color: oklch(46.8% 0.168 2.5);
Tailwind
colors: {
  custom: {
    50: '#c16882',
    500: '#9f1d52',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d52;
$custom-light: #c16882;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d52",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 335.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.16793,
    "h": 2.5
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#9F1D52
secondary
#54C496
accent
#ECA43C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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