#9F1976#9F1976

#9F1976 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.188 H 344.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9F1976
RGBrgb(159, 25, 118)
HSLhsl(318, 73%, 36%)
HSVhsv(318, 84%, 62%)
CMYKcmyk(0%, 84.3%, 25.8%, 37.6%)
CIE-LABlab(36.70, 59.54, -18.91)
CIE-LCHlch(36.70, 62.47, 342.38°)
OKLaboklab(47.93% 0.1806 -0.0505)
OKLCHoklch(47.93% 0.188 344.4)
XYZxyz(17.9165, 9.3762, 18.0023)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1976 #199F42
analogous
#85199F #9F1976 #9F1933
triadic
#9F1976 #769F19 #19769F
tetradic
#9F1976 #9F8519 #199F42 #19339F
square
#9F1976 #9F8519 #199F42 #19339F
split-complementary
#9F1976 #339F19 #199F85
monochromatic
#350828 #6A114F #9F1976 #D4219D #E34FB6

Accessibility & contrast

On white

7.30
#9F1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1976
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1976#FFFFFF#000000##FFFFFF
##9F19761.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4878
Deuteranopia (green-blind)
#575E73
Tritanopia (blue-blind)
#AA1747
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1976;
/* rgb */ color: rgb(159, 25, 118);
/* oklch */ color: oklch(47.9% 0.188 344.4);
Tailwind
colors: {
  custom: {
    50: '#c0689d',
    500: '#9f1976',
    950: '#000000',
  },
}
SCSS
$custom: #9f1976;
$custom-light: #c0689d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1976",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 318.358,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.18755,
    "h": 344.4
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#9F1976
secondary
#4EC673
accent
#F07038
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1976

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

Preview Lab → · Contrast checker → · Palette generator →

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