#9F1D83#9F1D83

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

Color values

HEX#9F1D83
RGBrgb(159, 29, 131)
HSLhsl(313, 69%, 37%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 81.8%, 17.6%, 37.6%)
CIE-LABlab(37.64, 60.28, -25.55)
CIE-LCHlch(37.64, 65.47, 337.03°)
OKLaboklab(48.81% 0.1794 -0.0693)
OKLCHoklch(48.81% 0.192 338.9)
XYZxyz(18.8347, 9.8903, 22.3854)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D83 #1D9F39
analogous
#7A1D9F #9F1D83 #9F1D42
triadic
#9F1D83 #839F1D #1D839F
tetradic
#9F1D83 #9F7A1D #1D9F39 #1D429F
square
#9F1D83 #9F7A1D #1D9F39 #1D429F
split-complementary
#9F1D83 #429F1D #1D9F7A
monochromatic
#370A2E #6B1458 #9F1D83 #D326AE #E056C2

Accessibility & contrast

On white

7.05
#9F1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D83
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D83#FFFFFF#000000##FFFFFF
##9F1D831.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#A8244F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d83;
/* rgb */ color: rgb(159, 29, 131);
/* oklch */ color: oklch(48.8% 0.192 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aa7',
    500: '#9f1d83',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d83;
$custom-light: #bf6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d83",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 312.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.1923,
    "h": 338.9
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#9F1D83
secondary
#54C46C
accent
#EC623C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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