#9E2E77#9E2E77

#9E2E77 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.166 H 344.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9E2E77
RGBrgb(158, 46, 119)
HSLhsl(321, 55%, 40%)
HSVhsv(321, 71%, 62%)
CMYKcmyk(0%, 70.9%, 24.7%, 38%)
CIE-LABlab(38.82, 52.98, -16.28)
CIE-LCHlch(38.82, 55.42, 342.91°)
OKLaboklab(49.45% 0.16 -0.0433)
OKLCHoklch(49.45% 0.166 344.9)
XYZxyz(18.4080, 10.5569, 18.5174)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E77 #2E9E55
analogous
#8D2E9E #9E2E77 #9E2E3F
triadic
#9E2E77 #779E2E #2E779E
tetradic
#9E2E77 #9E8D2E #2E9E55 #2E3F9E
square
#9E2E77 #9E8D2E #2E9E55 #2E3F9E
split-complementary
#9E2E77 #3F9E2E #2E9E8D
monochromatic
#3F1230 #6F2053 #9E2E77 #C84199 #D671B2

Accessibility & contrast

On white

6.75
#9E2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E77
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E77#FFFFFF#000000##FFFFFF
##9E2E771.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2e77;
/* rgb */ color: rgb(158, 46, 119);
/* oklch */ color: oklch(49.5% 0.166 344.9);
Tailwind
colors: {
  custom: {
    50: '#be709e',
    500: '#9e2e77',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e77;
$custom-light: #be709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e77",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 320.893,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.16575,
    "h": 344.9
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#9E2E77
secondary
#6BBD87
accent
#DE7D4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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