#9E1B74#9E1B74

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

Color values

HEX#9E1B74
RGBrgb(158, 27, 116)
HSLhsl(319, 71%, 36%)
HSVhsv(319, 83%, 62%)
CMYKcmyk(0%, 82.9%, 26.6%, 38%)
CIE-LABlab(36.59, 58.57, -17.84)
CIE-LCHlch(36.59, 61.23, 343.06°)
OKLaboklab(47.78% 0.1779 -0.0475)
OKLCHoklch(47.78% 0.184 345)
XYZxyz(17.6457, 9.3159, 17.3885)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B74 #1B9E45
analogous
#871B9E #9E1B74 #9E1B32
triadic
#9E1B74 #749E1B #1B749E
tetradic
#9E1B74 #9E871B #1B9E45 #1B329E
square
#9E1B74 #9E871B #1B9E45 #1B329E
split-complementary
#9E1B74 #329E1B #1B9E87
monochromatic
#350927 #6A124E #9E1B74 #D2249A #E152B3

Accessibility & contrast

On white

7.34
#9E1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B74
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B74#FFFFFF#000000##FFFFFF
##9E1B741.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#A91847
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1b74;
/* rgb */ color: rgb(158, 27, 116);
/* oklch */ color: oklch(47.8% 0.184 345.0);
Tailwind
colors: {
  custom: {
    50: '#bf699c',
    500: '#9e1b74',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b74;
$custom-light: #bf699c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b74",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 319.237,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.18416,
    "h": 345
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#9E1B74
secondary
#51C476
accent
#EE743A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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