#9F1D82#9F1D82

#9F1D82 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.192 H 339.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F1D82
RGBrgb(159, 29, 130)
HSLhsl(313, 69%, 37%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 81.8%, 18.2%, 37.6%)
CIE-LABlab(37.60, 60.14, -25.01)
CIE-LCHlch(37.60, 65.13, 337.42°)
OKLaboklab(48.76% 0.1793 -0.0677)
OKLCHoklch(48.76% 0.192 339.3)
XYZxyz(18.7672, 9.8633, 22.0302)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D82 #1D9F3A
analogous
#7B1D9F #9F1D82 #9F1D41
triadic
#9F1D82 #829F1D #1D829F
tetradic
#9F1D82 #9F7B1D #1D9F3A #1D419F
square
#9F1D82 #9F7B1D #1D9F3A #1D419F
split-complementary
#9F1D82 #419F1D #1D9F7B
monochromatic
#370A2D #6B1458 #9F1D82 #D326AC #E056C1

Accessibility & contrast

On white

7.07
#9F1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D82
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D82#FFFFFF#000000##FFFFFF
##9F1D821.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#53607F
Tritanopia (blue-blind)
#A9234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1d82;
/* rgb */ color: rgb(159, 29, 130);
/* oklch */ color: oklch(48.8% 0.192 339.3);
Tailwind
colors: {
  custom: {
    50: '#bf6aa6',
    500: '#9f1d82',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d82;
$custom-light: #bf6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d82",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 313.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.19165,
    "h": 339.3
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#9F1D82
secondary
#54C46D
accent
#EC633C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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