#9F1C7B#9F1C7B

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

Color values

HEX#9F1C7B
RGBrgb(159, 28, 123)
HSLhsl(316, 70%, 37%)
HSVhsv(316, 82%, 62%)
CMYKcmyk(0%, 82.4%, 22.6%, 37.6%)
CIE-LABlab(37.18, 59.45, -21.30)
CIE-LCHlch(37.18, 63.15, 340.29°)
OKLaboklab(48.35% 0.1792 -0.0572)
OKLCHoklch(48.35% 0.188 342.3)
XYZxyz(18.2892, 9.6335, 19.6313)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C7B #1C9F40
analogous
#821C9F #9F1C7B #9F1C39
triadic
#9F1C7B #7B9F1C #1C7B9F
tetradic
#9F1C7B #9F821C #1C9F40 #1C399F
square
#9F1C7B #9F821C #1C9F40 #1C399F
split-complementary
#9F1C7B #399F1C #1C9F82
monochromatic
#370A2A #6B1353 #9F1C7B #D325A3 #E154BA

Accessibility & contrast

On white

7.18
#9F1C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F1C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C7B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C7B#FFFFFF#000000##FFFFFF
##9F1C7B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A91E4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1c7b;
/* rgb */ color: rgb(159, 28, 123);
/* oklch */ color: oklch(48.3% 0.188 342.3);
Tailwind
colors: {
  custom: {
    50: '#c069a1',
    500: '#9f1c7b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c7b;
$custom-light: #c069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c7b",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 316.489,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.18809,
    "h": 342.3
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#9F1C7B
secondary
#53C472
accent
#ED6C3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9F1C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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