#9E2B79#9E2B79

#9E2B79 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.171 H 343.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9E2B79
RGBrgb(158, 43, 121)
HSLhsl(319, 57%, 39%)
HSVhsv(319, 73%, 62%)
CMYKcmyk(0%, 72.8%, 23.4%, 38%)
CIE-LABlab(38.51, 54.35, -18.00)
CIE-LCHlch(38.51, 57.26, 341.67°)
OKLaboklab(49.25% 0.1638 -0.0481)
OKLCHoklch(49.25% 0.171 343.6)
XYZxyz(18.4163, 10.3792, 19.1190)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B79 #2B9E50
analogous
#8A2B9E #9E2B79 #9E2B40
triadic
#9E2B79 #799E2B #2B799E
tetradic
#9E2B79 #9E8A2B #2B9E50 #2B409E
square
#9E2B79 #9E8A2B #2B9E50 #2B409E
split-complementary
#9E2B79 #409E2B #2B9E8A
monochromatic
#3E112F #6E1E54 #9E2B79 #CA3C9C #D76CB5

Accessibility & contrast

On white

6.83
#9E2B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E2B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B79
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B79#FFFFFF#000000##FFFFFF
##9E2B791.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#5A6276
Tritanopia (blue-blind)
#A82B4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2b79;
/* rgb */ color: rgb(158, 43, 121);
/* oklch */ color: oklch(49.3% 0.171 343.6);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9e2b79',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b79;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b79",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 319.304,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.17071,
    "h": 343.6
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#9E2B79
secondary
#67BE83
accent
#E07947
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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