#9E1B83#9E1B83

#9E1B83 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 338.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9E1B83
RGBrgb(158, 27, 131)
HSLhsl(312, 71%, 36%)
HSVhsv(312, 83%, 62%)
CMYKcmyk(0%, 82.9%, 17.1%, 38%)
CIE-LABlab(37.29, 60.55, -26.12)
CIE-LCHlch(37.29, 65.94, 336.66°)
OKLaboklab(48.52% 0.18 -0.0709)
OKLCHoklch(48.52% 0.193 338.5)
XYZxyz(18.5897, 9.6935, 22.3603)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B83 #1B9E36
analogous
#781B9E #9E1B83 #9E1B42
triadic
#9E1B83 #839E1B #1B839E
tetradic
#9E1B83 #9E781B #1B9E36 #1B429E
square
#9E1B83 #9E781B #1B9E36 #1B429E
split-complementary
#9E1B83 #429E1B #1B9E78
monochromatic
#35092C #6A1258 #9E1B83 #D224AE #E152C4

Accessibility & contrast

On white

7.15
#9E1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B83
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B83#FFFFFF#000000##FFFFFF
##9E1B831.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#515F80
Tritanopia (blue-blind)
#A7234F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1b83;
/* rgb */ color: rgb(158, 27, 131);
/* oklch */ color: oklch(48.5% 0.193 338.5);
Tailwind
colors: {
  custom: {
    50: '#bf69a7',
    500: '#9e1b83',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b83;
$custom-light: #bf69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b83",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 312.366,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.19343,
    "h": 338.5
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#9E1B83
secondary
#51C468
accent
#EE5F3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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