#9E2B78#9E2B78

#9E2B78 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.170 H 344.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E2B78
RGBrgb(158, 43, 120)
HSLhsl(320, 57%, 39%)
HSVhsv(320, 73%, 62%)
CMYKcmyk(0%, 72.8%, 24.1%, 38%)
CIE-LABlab(38.47, 54.22, -17.45)
CIE-LCHlch(38.47, 56.95, 342.16°)
OKLaboklab(49.21% 0.1636 -0.0465)
OKLCHoklch(49.21% 0.17 344.1)
XYZxyz(18.3553, 10.3548, 18.7977)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B78 #2B9E51
analogous
#8B2B9E #9E2B78 #9E2B3F
triadic
#9E2B78 #789E2B #2B789E
tetradic
#9E2B78 #9E8B2B #2B9E51 #2B3F9E
square
#9E2B78 #9E8B2B #2B9E51 #2B3F9E
split-complementary
#9E2B78 #3F9E2B #2B9E8B
monochromatic
#3E112F #6E1E53 #9E2B78 #CA3C9B #D76CB4

Accessibility & contrast

On white

6.84
#9E2B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E2B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B78
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B78#FFFFFF#000000##FFFFFF
##9E2B781.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A82A4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2b78;
/* rgb */ color: rgb(158, 43, 120);
/* oklch */ color: oklch(49.2% 0.170 344.1);
Tailwind
colors: {
  custom: {
    50: '#be6f9f',
    500: '#9e2b78',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b78;
$custom-light: #be6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b78",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 319.826,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.17009,
    "h": 344.1
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#9E2B78
secondary
#67BE84
accent
#E07A47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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