#9E2A77#9E2A77

#9E2A77 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 344.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9E2A77
RGBrgb(158, 42, 119)
HSLhsl(320, 58%, 39%)
HSVhsv(320, 73%, 62%)
CMYKcmyk(0%, 73.4%, 24.7%, 38%)
CIE-LABlab(38.30, 54.44, -17.08)
CIE-LCHlch(38.30, 57.05, 342.58°)
OKLaboklab(49.07% 0.1645 -0.0455)
OKLCHoklch(49.07% 0.171 344.5)
XYZxyz(18.2590, 10.2589, 18.4678)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A77 #2A9E51
analogous
#8B2A9E #9E2A77 #9E2A3D
triadic
#9E2A77 #779E2A #2A779E
tetradic
#9E2A77 #9E8B2A #2A9E51 #2A3D9E
square
#9E2A77 #9E8B2A #2A9E51 #2A3D9E
split-complementary
#9E2A77 #3D9E2A #2A9E8B
monochromatic
#3D102E #6E1D53 #9E2A77 #CB3A9A #D86BB3

Accessibility & contrast

On white

6.88
#9E2A77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E2A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A77
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A77#FFFFFF#000000##FFFFFF
##9E2A771.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#A9294D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2a77;
/* rgb */ color: rgb(158, 42, 119);
/* oklch */ color: oklch(49.1% 0.171 344.5);
Tailwind
colors: {
  custom: {
    50: '#be6e9e',
    500: '#9e2a77',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a77;
$custom-light: #be6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a77",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 320.172,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.17067,
    "h": 344.5
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#9E2A77
secondary
#66BE83
accent
#E17B47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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