#9F1C76#9F1C76

#9F1C76 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.185 H 344.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9F1C76
RGBrgb(159, 28, 118)
HSLhsl(319, 70%, 37%)
HSVhsv(319, 82%, 62%)
CMYKcmyk(0%, 82.4%, 25.8%, 37.6%)
CIE-LABlab(36.95, 58.81, -18.52)
CIE-LCHlch(36.95, 61.66, 342.52°)
OKLaboklab(48.11% 0.1784 -0.0494)
OKLCHoklch(48.11% 0.185 344.5)
XYZxyz(17.9841, 9.5115, 18.0248)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C76 #1C9F45
analogous
#871C9F #9F1C76 #9F1C34
triadic
#9F1C76 #769F1C #1C769F
tetradic
#9F1C76 #9F871C #1C9F45 #1C349F
square
#9F1C76 #9F871C #1C9F45 #1C349F
split-complementary
#9F1C76 #349F1C #1C9F87
monochromatic
#370A29 #6B134F #9F1C76 #D3259D #E154B5

Accessibility & contrast

On white

7.24
#9F1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C76
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C76#FFFFFF#000000##FFFFFF
##9F1C761.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#575F73
Tritanopia (blue-blind)
#AA1A48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1c76;
/* rgb */ color: rgb(159, 28, 118);
/* oklch */ color: oklch(48.1% 0.185 344.5);
Tailwind
colors: {
  custom: {
    50: '#c0699d',
    500: '#9f1c76',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c76;
$custom-light: #c0699d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c76",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 318.779,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.1851,
    "h": 344.5
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#9F1C76
secondary
#53C476
accent
#ED733B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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