#9E388D#9E388D

#9E388D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.168 H 334.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9E388D
RGBrgb(158, 56, 141)
HSLhsl(310, 48%, 42%)
HSVhsv(310, 65%, 62%)
CMYKcmyk(0%, 64.6%, 10.8%, 38%)
CIE-LABlab(41.25, 52.21, -26.07)
CIE-LCHlch(41.25, 58.36, 333.46°)
OKLaboklab(51.54% 0.1518 -0.071)
OKLCHoklch(51.54% 0.168 334.9)
XYZxyz(20.3226, 12.0222, 26.4443)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E388D #389E49
analogous
#7C389E #9E388D #9E385A
triadic
#9E388D #8D9E38 #388D9E
tetradic
#9E388D #9E7C38 #389E49 #385A9E
square
#9E388D #9E7C38 #389E49 #385A9E
split-complementary
#9E388D #5A9E38 #389E7C
monochromatic
#44183C #712865 #9E388D #C252AF #D27FC4

Accessibility & contrast

On white

6.17
#9E388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9E388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E388D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E388D#FFFFFF#000000##FFFFFF
##9E388D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#A53F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e388d;
/* rgb */ color: rgb(158, 56, 141);
/* oklch */ color: oklch(51.5% 0.168 334.9);
Tailwind
colors: {
  custom: {
    50: '#be76ae',
    500: '#9e388d',
    950: '#000000',
  },
}
SCSS
$custom: #9e388d;
$custom-light: #be76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e388d",
  "rgb": {
    "r": 158,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 310,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.16757,
    "h": 334.9
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#9E388D
secondary
#77BB82
accent
#D76751
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9E388D

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

Preview Lab → · Contrast checker → · Palette generator →

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