#9F1B83#9F1B83

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

Color values

HEX#9F1B83
RGBrgb(159, 27, 131)
HSLhsl(313, 71%, 36%)
HSVhsv(313, 83%, 62%)
CMYKcmyk(0%, 83%, 17.6%, 37.6%)
CIE-LABlab(37.47, 60.77, -25.82)
CIE-LCHlch(37.47, 66.03, 336.98°)
OKLaboklab(48.69% 0.1809 -0.0701)
OKLCHoklch(48.69% 0.194 338.8)
XYZxyz(18.7873, 9.7954, 22.3696)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B83 #1B9F37
analogous
#791B9F #9F1B83 #9F1B41
triadic
#9F1B83 #839F1B #1B839F
tetradic
#9F1B83 #9F791B #1B9F37 #1B419F
square
#9F1B83 #9F791B #1B9F37 #1B419F
split-complementary
#9F1B83 #419F1B #1B9F79
monochromatic
#36092D #6B1258 #9F1B83 #D324AE #E253C3

Accessibility & contrast

On white

7.10
#9F1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B83
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B83#FFFFFF#000000##FFFFFF
##9F1B831.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A8234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1b83;
/* rgb */ color: rgb(159, 27, 131);
/* oklch */ color: oklch(48.7% 0.194 338.8);
Tailwind
colors: {
  custom: {
    50: '#c06aa7',
    500: '#9f1b83',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b83;
$custom-light: #c06aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b83",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 312.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.19398,
    "h": 338.8
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#9F1B83
secondary
#51C56A
accent
#EE603A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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