#9E2E79#9E2E79

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

Color values

HEX#9E2E79
RGBrgb(158, 46, 121)
HSLhsl(320, 55%, 40%)
HSVhsv(320, 71%, 62%)
CMYKcmyk(0%, 70.9%, 23.4%, 38%)
CIE-LABlab(38.91, 53.25, -17.40)
CIE-LCHlch(38.91, 56.02, 341.90°)
OKLaboklab(49.54% 0.1604 -0.0464)
OKLCHoklch(49.54% 0.167 343.9)
XYZxyz(18.5294, 10.6055, 19.1567)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E79 #2E9E53
analogous
#8B2E9E #9E2E79 #9E2E41
triadic
#9E2E79 #799E2E #2E799E
tetradic
#9E2E79 #9E8B2E #2E9E53 #2E419E
square
#9E2E79 #9E8B2E #2E9E53 #2E419E
split-complementary
#9E2E79 #419E2E #2E9E8B
monochromatic
#3F1230 #6F2055 #9E2E79 #C8419B #D671B4

Accessibility & contrast

On white

6.73
#9E2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E79
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E79#FFFFFF#000000##FFFFFF
##9E2E791.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#A82E4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2e79;
/* rgb */ color: rgb(158, 46, 121);
/* oklch */ color: oklch(49.5% 0.167 343.9);
Tailwind
colors: {
  custom: {
    50: '#be709f',
    500: '#9e2e79',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e79;
$custom-light: #be709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e79",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 319.821,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.16699,
    "h": 343.9
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#9E2E79
secondary
#6BBD86
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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