#9F1779#9F1779

#9F1779 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 343.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F1779
RGBrgb(159, 23, 121)
HSLhsl(317, 75%, 36%)
HSVhsv(317, 86%, 62%)
CMYKcmyk(0%, 85.5%, 23.9%, 37.6%)
CIE-LABlab(36.68, 60.36, -20.82)
CIE-LCHlch(36.68, 63.85, 340.97°)
OKLaboklab(47.96% 0.1825 -0.0559)
OKLCHoklch(47.96% 0.191 343)
XYZxyz(18.0564, 9.3662, 18.9424)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1779 #179F3D
analogous
#81179F #9F1779 #9F1735
triadic
#9F1779 #799F17 #17799F
tetradic
#9F1779 #9F8117 #179F3D #17359F
square
#9F1779 #9F8117 #179F3D #17359F
split-complementary
#9F1779 #359F17 #179F81
monochromatic
#340828 #6A0F50 #9F1779 #D41FA2 #E54BBA

Accessibility & contrast

On white

7.31
#9F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1779
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1779#FFFFFF#000000##FFFFFF
##9F17791.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#AA1848
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1779;
/* rgb */ color: rgb(159, 23, 121);
/* oklch */ color: oklch(48.0% 0.191 343.0);
Tailwind
colors: {
  custom: {
    50: '#c068a0',
    500: '#9f1779',
    950: '#000000',
  },
}
SCSS
$custom: #9f1779;
$custom-light: #c068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1779",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 316.765,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.19084,
    "h": 343
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#9F1779
secondary
#4BC76E
accent
#F16B36
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1779

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

Preview Lab → · Contrast checker → · Palette generator →

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