#9F1C7A#9F1C7A

#9F1C7A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.187 H 342.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F1C7A
RGBrgb(159, 28, 122)
HSLhsl(317, 70%, 37%)
HSVhsv(317, 82%, 62%)
CMYKcmyk(0%, 82.4%, 23.3%, 37.6%)
CIE-LABlab(37.13, 59.32, -20.75)
CIE-LCHlch(37.13, 62.85, 340.72°)
OKLaboklab(48.3% 0.179 -0.0557)
OKLCHoklch(48.3% 0.187 342.7)
XYZxyz(18.2269, 9.6086, 19.3033)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C7A #1C9F41
analogous
#831C9F #9F1C7A #9F1C38
triadic
#9F1C7A #7A9F1C #1C7A9F
tetradic
#9F1C7A #9F831C #1C9F41 #1C389F
square
#9F1C7A #9F831C #1C9F41 #1C389F
split-complementary
#9F1C7A #389F1C #1C9F83
monochromatic
#370A2A #6B1352 #9F1C7A #D325A2 #E154B9

Accessibility & contrast

On white

7.19
#9F1C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F1C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C7A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C7A#FFFFFF#000000##FFFFFF
##9F1C7A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#AA1D4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1c7a;
/* rgb */ color: rgb(159, 28, 122);
/* oklch */ color: oklch(48.3% 0.187 342.7);
Tailwind
colors: {
  custom: {
    50: '#c069a0',
    500: '#9f1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c7a;
$custom-light: #c069a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c7a",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 316.947,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.18749,
    "h": 342.7
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#9F1C7A
secondary
#53C473
accent
#ED6D3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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