#9F1B82#9F1B82

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

Color values

HEX#9F1B82
RGBrgb(159, 27, 130)
HSLhsl(313, 71%, 36%)
HSVhsv(313, 83%, 62%)
CMYKcmyk(0%, 83%, 18.2%, 37.6%)
CIE-LABlab(37.42, 60.64, -25.28)
CIE-LCHlch(37.42, 65.69, 337.37°)
OKLaboklab(48.63% 0.1808 -0.0685)
OKLCHoklch(48.63% 0.193 339.2)
XYZxyz(18.7198, 9.7684, 22.0144)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B82 #1B9F38
analogous
#7A1B9F #9F1B82 #9F1B40
triadic
#9F1B82 #829F1B #1B829F
tetradic
#9F1B82 #9F7A1B #1B9F38 #1B409F
square
#9F1B82 #9F7A1B #1B9F38 #1B409F
split-complementary
#9F1B82 #409F1B #1B9F7A
monochromatic
#36092C #6B1257 #9F1B82 #D324AD #E253C2

Accessibility & contrast

On white

7.11
#9F1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B82
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B82#FFFFFF#000000##FFFFFF
##9F1B821.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b82;
/* rgb */ color: rgb(159, 27, 130);
/* oklch */ color: oklch(48.6% 0.193 339.2);
Tailwind
colors: {
  custom: {
    50: '#c069a6',
    500: '#9f1b82',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b82;
$custom-light: #c069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b82",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 313.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.19334,
    "h": 339.2
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#9F1B82
secondary
#51C56B
accent
#EE623A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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