#9F1C77#9F1C77

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

Color values

HEX#9F1C77
RGBrgb(159, 28, 119)
HSLhsl(318, 70%, 37%)
HSVhsv(318, 82%, 62%)
CMYKcmyk(0%, 82.4%, 25.2%, 37.6%)
CIE-LABlab(37.00, 58.94, -19.08)
CIE-LCHlch(37.00, 61.95, 342.06°)
OKLaboklab(48.16% 0.1785 -0.051)
OKLCHoklch(48.16% 0.186 344.1)
XYZxyz(18.0439, 9.5354, 18.3395)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C77 #1C9F44
analogous
#861C9F #9F1C77 #9F1C35
triadic
#9F1C77 #779F1C #1C779F
tetradic
#9F1C77 #9F861C #1C9F44 #1C359F
square
#9F1C77 #9F861C #1C9F44 #1C359F
split-complementary
#9F1C77 #359F1C #1C9F86
monochromatic
#370A29 #6B1350 #9F1C77 #D3259E #E154B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1C77#FFFFFF#000000##FFFFFF
##9F1C771.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)
#2E4979
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#AA1B49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1c77;
/* rgb */ color: rgb(159, 28, 119);
/* oklch */ color: oklch(48.2% 0.186 344.1);
Tailwind
colors: {
  custom: {
    50: '#c0699e',
    500: '#9f1c77',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c77;
$custom-light: #c0699e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c77",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 318.321,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.18569,
    "h": 344.1
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#9F1C77
secondary
#53C475
accent
#ED713B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1C77

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

Preview Lab → · Contrast checker → · Palette generator →

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