#9E1B73#9E1B73

#9E1B73 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.184 H 345.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9E1B73
RGBrgb(158, 27, 115)
HSLhsl(320, 71%, 36%)
HSVhsv(320, 83%, 62%)
CMYKcmyk(0%, 82.9%, 27.2%, 38%)
CIE-LABlab(36.54, 58.45, -17.28)
CIE-LCHlch(36.54, 60.95, 343.53°)
OKLaboklab(47.74% 0.1777 -0.046)
OKLCHoklch(47.74% 0.184 345.5)
XYZxyz(17.5878, 9.2928, 17.0838)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B73 #1B9E46
analogous
#881B9E #9E1B73 #9E1B31
triadic
#9E1B73 #739E1B #1B739E
tetradic
#9E1B73 #9E881B #1B9E46 #1B319E
square
#9E1B73 #9E881B #1B9E46 #1B319E
split-complementary
#9E1B73 #319E1B #1B9E88
monochromatic
#350927 #6A124D #9E1B73 #D22499 #E152B2

Accessibility & contrast

On white

7.35
#9E1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9E1B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B73
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B73#FFFFFF#000000##FFFFFF
##9E1B731.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#575E70
Tritanopia (blue-blind)
#A91746
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1b73;
/* rgb */ color: rgb(158, 27, 115);
/* oklch */ color: oklch(47.7% 0.184 345.5);
Tailwind
colors: {
  custom: {
    50: '#bf699b',
    500: '#9e1b73',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b73;
$custom-light: #bf699b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b73",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 319.695,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.18359,
    "h": 345.5
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#9E1B73
secondary
#51C477
accent
#EE753A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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