#9E2C73#9E2C73

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

Color values

HEX#9E2C73
RGBrgb(158, 44, 115)
HSLhsl(323, 56%, 40%)
HSVhsv(323, 72%, 62%)
CMYKcmyk(0%, 72.2%, 27.2%, 38%)
CIE-LABlab(38.39, 53.19, -14.44)
CIE-LCHlch(38.39, 55.12, 344.81°)
OKLaboklab(49.08% 0.1614 -0.0382)
OKLCHoklch(49.08% 0.166 346.7)
XYZxyz(18.0965, 10.3102, 17.2534)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C73 #2C9E57
analogous
#902C9E #9E2C73 #9E2C3A
triadic
#9E2C73 #739E2C #2C739E
tetradic
#9E2C73 #9E902C #2C9E57 #2C3A9E
square
#9E2C73 #9E902C #2C9E57 #2C3A9E
split-complementary
#9E2C73 #3A9E2C #2C9E90
monochromatic
#3E112D #6E1F50 #9E2C73 #C93E95 #D76EAF

Accessibility & contrast

On white

6.86
#9E2C73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E2C73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C73
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C73#FFFFFF#000000##FFFFFF
##9E2C731.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E75
Deuteranopia (green-blind)
#5C6170
Tritanopia (blue-blind)
#A9294B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2c73;
/* rgb */ color: rgb(158, 44, 115);
/* oklch */ color: oklch(49.1% 0.166 346.7);
Tailwind
colors: {
  custom: {
    50: '#be6f9b',
    500: '#9e2c73',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c73;
$custom-light: #be6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c73",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 322.632,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.16586,
    "h": 346.7
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#9E2C73
secondary
#68BE88
accent
#E08148
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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