#9E2D74#9E2D74

#9E2D74 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.165 H 346.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E2D74
RGBrgb(158, 45, 116)
HSLhsl(322, 56%, 40%)
HSVhsv(322, 72%, 62%)
CMYKcmyk(0%, 71.5%, 26.6%, 38%)
CIE-LABlab(38.57, 52.95, -14.81)
CIE-LCHlch(38.57, 54.98, 344.38°)
OKLaboklab(49.22% 0.1605 -0.0392)
OKLCHoklch(49.22% 0.165 346.3)
XYZxyz(18.1921, 10.4088, 17.5706)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D74 #2D9E57
analogous
#902D9E #9E2D74 #9E2D3B
triadic
#9E2D74 #749E2D #2D749E
tetradic
#9E2D74 #9E902D #2D9E57 #2D3B9E
square
#9E2D74 #9E902D #2D9E57 #2D3B9E
split-complementary
#9E2D74 #3B9E2D #2D9E90
monochromatic
#3F122E #6E1F51 #9E2D74 #C94096 #D66FB0

Accessibility & contrast

On white

6.82
#9E2D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2D74
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D74#FFFFFF#000000##FFFFFF
##9E2D741.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#A92A4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2d74;
/* rgb */ color: rgb(158, 45, 116);
/* oklch */ color: oklch(49.2% 0.165 346.3);
Tailwind
colors: {
  custom: {
    50: '#be709c',
    500: '#9e2d74',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d74;
$custom-light: #be709c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d74",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 322.301,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.1652,
    "h": 346.3
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#9E2D74
secondary
#69BD89
accent
#DF8149
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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