#9E1B76#9E1B76

#9E1B76 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 344.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E1B76
RGBrgb(158, 27, 118)
HSLhsl(318, 71%, 36%)
HSVhsv(318, 83%, 62%)
CMYKcmyk(0%, 82.9%, 25.3%, 38%)
CIE-LABlab(36.67, 58.82, -18.96)
CIE-LCHlch(36.67, 61.81, 342.13°)
OKLaboklab(47.88% 0.1783 -0.0507)
OKLCHoklch(47.88% 0.185 344.1)
XYZxyz(17.7633, 9.3630, 18.0078)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B76 #1B9E43
analogous
#851B9E #9E1B76 #9E1B34
triadic
#9E1B76 #769E1B #1B769E
tetradic
#9E1B76 #9E851B #1B9E43 #1B349E
square
#9E1B76 #9E851B #1B9E43 #1B349E
split-complementary
#9E1B76 #349E1B #1B9E85
monochromatic
#350928 #6A124F #9E1B76 #D2249D #E152B6

Accessibility & contrast

On white

7.31
#9E1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B76
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B76#FFFFFF#000000##FFFFFF
##9E1B761.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4978
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A91A48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1b76;
/* rgb */ color: rgb(158, 27, 118);
/* oklch */ color: oklch(47.9% 0.185 344.1);
Tailwind
colors: {
  custom: {
    50: '#bf699d',
    500: '#9e1b76',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b76;
$custom-light: #bf699d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b76",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 318.321,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.18533,
    "h": 344.1
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#9E1B76
secondary
#51C474
accent
#EE713A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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