#9E388B#9E388B

#9E388B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.166 H 335.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9E388B
RGBrgb(158, 56, 139)
HSLhsl(311, 48%, 42%)
HSVhsv(311, 65%, 62%)
CMYKcmyk(0%, 64.6%, 12%, 38%)
CIE-LABlab(41.16, 51.89, -25.00)
CIE-LCHlch(41.16, 57.60, 334.28°)
OKLaboklab(51.44% 0.1515 -0.068)
OKLCHoklch(51.44% 0.166 335.8)
XYZxyz(20.1751, 11.9632, 25.6676)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E388B #389E4B
analogous
#7E389E #9E388B #9E3858
triadic
#9E388B #8B9E38 #388B9E
tetradic
#9E388B #9E7E38 #389E4B #38589E
square
#9E388B #9E7E38 #389E4B #38589E
split-complementary
#9E388B #589E38 #389E7E
monochromatic
#44183B #712863 #9E388B #C252AD #D27FC2

Accessibility & contrast

On white

6.19
#9E388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9E388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E388B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E388B#FFFFFF#000000##FFFFFF
##9E388B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#596788
Tritanopia (blue-blind)
#A63E5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e388b;
/* rgb */ color: rgb(158, 56, 139);
/* oklch */ color: oklch(51.4% 0.166 335.8);
Tailwind
colors: {
  custom: {
    50: '#be76ad',
    500: '#9e388b',
    950: '#000000',
  },
}
SCSS
$custom: #9e388b;
$custom-light: #be76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e388b",
  "rgb": {
    "r": 158,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 311.176,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.16604,
    "h": 335.8
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#9E388B
secondary
#77BB84
accent
#D76A51
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9E388B

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

Preview Lab → · Contrast checker → · Palette generator →

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