#9F1C82#9F1C82

#9F1C82 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.193 H 339.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9F1C82
RGBrgb(159, 28, 130)
HSLhsl(313, 70%, 37%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 82.4%, 18.2%, 37.6%)
CIE-LABlab(37.51, 60.39, -25.14)
CIE-LCHlch(37.51, 65.41, 337.40°)
OKLaboklab(48.69% 0.18 -0.0681)
OKLCHoklch(48.69% 0.193 339.3)
XYZxyz(18.7431, 9.8151, 22.0222)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C82 #1C9F39
analogous
#7A1C9F #9F1C82 #9F1C41
triadic
#9F1C82 #829F1C #1C829F
tetradic
#9F1C82 #9F7A1C #1C9F39 #1C419F
square
#9F1C82 #9F7A1C #1C9F39 #1C419F
split-complementary
#9F1C82 #419F1C #1C9F7A
monochromatic
#370A2D #6B1357 #9F1C82 #D325AD #E154C2

Accessibility & contrast

On white

7.09
#9F1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C82
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C82#FFFFFF#000000##FFFFFF
##9F1C821.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A9234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1c82;
/* rgb */ color: rgb(159, 28, 130);
/* oklch */ color: oklch(48.7% 0.193 339.3);
Tailwind
colors: {
  custom: {
    50: '#bf6aa6',
    500: '#9f1c82',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c82;
$custom-light: #bf6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c82",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 313.282,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.1925,
    "h": 339.3
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#9F1C82
secondary
#53C46C
accent
#ED623B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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