#9F1D6D#9F1D6D

#9F1D6D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.179 H 348.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F1D6D
RGBrgb(159, 29, 109)
HSLhsl(323, 69%, 37%)
HSVhsv(323, 82%, 62%)
CMYKcmyk(0%, 81.8%, 31.4%, 37.6%)
CIE-LABlab(36.66, 57.46, -13.30)
CIE-LCHlch(36.66, 58.97, 346.97°)
OKLaboklab(47.78% 0.1758 -0.0349)
OKLCHoklch(47.78% 0.179 348.8)
XYZxyz(17.4987, 9.3559, 15.3494)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D6D #1D9F4F
analogous
#901D9F #9F1D6D #9F1D2C
triadic
#9F1D6D #6D9F1D #1D6D9F
tetradic
#9F1D6D #9F901D #1D9F4F #1D2C9F
square
#9F1D6D #9F901D #1D9F4F #1D2C9F
split-complementary
#9F1D6D #2C9F1D #1D9F90
monochromatic
#370A26 #6B144A #9F1D6D #D32690 #E056AB

Accessibility & contrast

On white

7.32
#9F1D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F1D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D6D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D6D#FFFFFF#000000##FFFFFF
##9F1D6D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#AB1443
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1d6d;
/* rgb */ color: rgb(159, 29, 109);
/* oklch */ color: oklch(47.8% 0.179 348.8);
Tailwind
colors: {
  custom: {
    50: '#c06997',
    500: '#9f1d6d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d6d;
$custom-light: #c06997;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d6d",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 323.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.1792,
    "h": 348.8
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#9F1D6D
secondary
#54C47F
accent
#EC803C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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