#9E2D77#9E2D77

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

Color values

HEX#9E2D77
RGBrgb(158, 45, 119)
HSLhsl(321, 56%, 40%)
HSVhsv(321, 72%, 62%)
CMYKcmyk(0%, 71.5%, 24.7%, 38%)
CIE-LABlab(38.69, 53.35, -16.49)
CIE-LCHlch(38.69, 55.84, 342.82°)
OKLaboklab(49.35% 0.1611 -0.0439)
OKLCHoklch(49.35% 0.167 344.8)
XYZxyz(18.3694, 10.4797, 18.5046)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D77 #2D9E54
analogous
#8D2D9E #9E2D77 #9E2D3F
triadic
#9E2D77 #779E2D #2D779E
tetradic
#9E2D77 #9E8D2D #2D9E54 #2D3F9E
square
#9E2D77 #9E8D2D #2D9E54 #2D3F9E
split-complementary
#9E2D77 #3F9E2D #2D9E8D
monochromatic
#3F122F #6E1F53 #9E2D77 #C94099 #D66FB3

Accessibility & contrast

On white

6.78
#9E2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2D77
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D77#FFFFFF#000000##FFFFFF
##9E2D771.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F79
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#A92C4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2d77;
/* rgb */ color: rgb(158, 45, 119);
/* oklch */ color: oklch(49.4% 0.167 344.8);
Tailwind
colors: {
  custom: {
    50: '#be709e',
    500: '#9e2d77',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d77;
$custom-light: #be709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d77",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 320.708,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.16701,
    "h": 344.8
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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