#9E2D78#9E2D78

#9E2D78 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 344.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E2D78
RGBrgb(158, 45, 120)
HSLhsl(320, 56%, 40%)
HSVhsv(320, 72%, 62%)
CMYKcmyk(0%, 71.5%, 24.1%, 38%)
CIE-LABlab(38.73, 53.49, -17.05)
CIE-LCHlch(38.73, 56.14, 342.32°)
OKLaboklab(49.4% 0.1614 -0.0454)
OKLCHoklch(49.4% 0.168 344.3)
XYZxyz(18.4298, 10.5038, 18.8225)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D78 #2D9E53
analogous
#8C2D9E #9E2D78 #9E2D40
triadic
#9E2D78 #789E2D #2D789E
tetradic
#9E2D78 #9E8C2D #2D9E53 #2D409E
square
#9E2D78 #9E8C2D #2D9E53 #2D409E
split-complementary
#9E2D78 #409E2D #2D9E8C
monochromatic
#3F1230 #6E1F54 #9E2D78 #C9409B #D66FB4

Accessibility & contrast

On white

6.77
#9E2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D78
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D78#FFFFFF#000000##FFFFFF
##9E2D781.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A82C4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2d78;
/* rgb */ color: rgb(158, 45, 120);
/* oklch */ color: oklch(49.4% 0.168 344.3);
Tailwind
colors: {
  custom: {
    50: '#be709f',
    500: '#9e2d78',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d78;
$custom-light: #be709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d78",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 320.177,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.16763,
    "h": 344.3
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#9E2D78
secondary
#69BD86
accent
#DF7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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