#9F1A82#9F1A82

#9F1A82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.194 H 339.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F1A82
RGBrgb(159, 26, 130)
HSLhsl(313, 72%, 36%)
HSVhsv(313, 84%, 62%)
CMYKcmyk(0%, 83.6%, 18.2%, 37.6%)
CIE-LABlab(37.34, 60.87, -25.40)
CIE-LCHlch(37.34, 65.96, 337.35°)
OKLaboklab(48.57% 0.1815 -0.0689)
OKLCHoklch(48.57% 0.194 339.2)
XYZxyz(18.6973, 9.7233, 22.0069)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A82 #1A9F37
analogous
#7A1A9F #9F1A82 #9F1A40
triadic
#9F1A82 #829F1A #1A829F
tetradic
#9F1A82 #9F7A1A #1A9F37 #1A409F
square
#9F1A82 #9F7A1A #1A9F37 #1A409F
split-complementary
#9F1A82 #409F1A #1A9F7A
monochromatic
#36092C #6A1157 #9F1A82 #D423AD #E351C3

Accessibility & contrast

On white

7.13
#9F1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A82
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A82#FFFFFF#000000##FFFFFF
##9F1A821.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A9214E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1a82;
/* rgb */ color: rgb(159, 26, 130);
/* oklch */ color: oklch(48.6% 0.194 339.2);
Tailwind
colors: {
  custom: {
    50: '#c069a6',
    500: '#9f1a82',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a82;
$custom-light: #c069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a82",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 313.083,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.19414,
    "h": 339.2
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#9F1A82
secondary
#50C569
accent
#EF6139
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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