#9F1B79#9F1B79

#9F1B79 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.188 H 343.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9F1B79
RGBrgb(159, 27, 121)
HSLhsl(317, 71%, 36%)
HSVhsv(317, 83%, 62%)
CMYKcmyk(0%, 83%, 23.9%, 37.6%)
CIE-LABlab(37.00, 59.44, -20.33)
CIE-LCHlch(37.00, 62.82, 341.12°)
OKLaboklab(48.19% 0.1796 -0.0545)
OKLCHoklch(48.19% 0.188 343.1)
XYZxyz(18.1419, 9.5373, 18.9709)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B79 #1B9F41
analogous
#831B9F #9F1B79 #9F1B37
triadic
#9F1B79 #799F1B #1B799F
tetradic
#9F1B79 #9F831B #1B9F41 #1B379F
square
#9F1B79 #9F831B #1B9F41 #1B379F
split-complementary
#9F1B79 #379F1B #1B9F83
monochromatic
#360929 #6B1251 #9F1B79 #D324A1 #E253B9

Accessibility & contrast

On white

7.22
#9F1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B79
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B79#FFFFFF#000000##FFFFFF
##9F1B791.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#AA1B49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1b79;
/* rgb */ color: rgb(159, 27, 121);
/* oklch */ color: oklch(48.2% 0.188 343.1);
Tailwind
colors: {
  custom: {
    50: '#c069a0',
    500: '#9f1b79',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b79;
$custom-light: #c069a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b79",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 317.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.18772,
    "h": 343.1
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#9F1B79
secondary
#51C572
accent
#EE6E3A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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