#9E2D72#9E2D72

#9E2D72 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.164 H 347.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E2D72
RGBrgb(158, 45, 114)
HSLhsl(323, 56%, 40%)
HSVhsv(323, 72%, 62%)
CMYKcmyk(0%, 71.5%, 27.8%, 38%)
CIE-LABlab(38.49, 52.69, -13.68)
CIE-LCHlch(38.49, 54.44, 345.45°)
OKLaboklab(49.14% 0.16 -0.0361)
OKLCHoklch(49.14% 0.164 347.3)
XYZxyz(18.0770, 10.3627, 16.9645)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D72 #2D9E59
analogous
#922D9E #9E2D72 #9E2D39
triadic
#9E2D72 #729E2D #2D729E
tetradic
#9E2D72 #9E922D #2D9E59 #2D399E
square
#9E2D72 #9E922D #2D9E59 #2D399E
split-complementary
#9E2D72 #399E2D #2D9E92
monochromatic
#3F122D #6E1F50 #9E2D72 #C94093 #D66FAE

Accessibility & contrast

On white

6.84
#9E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E2D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2D72
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D72#FFFFFF#000000##FFFFFF
##9E2D721.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#A9294B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2d72;
/* rgb */ color: rgb(158, 45, 114);
/* oklch */ color: oklch(49.1% 0.164 347.3);
Tailwind
colors: {
  custom: {
    50: '#be709a',
    500: '#9e2d72',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d72;
$custom-light: #be709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d72",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 323.363,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.16403,
    "h": 347.3
  },
  "luminance": 0.10361
}

Semantic roles & 50–950 ramp

primary
#9E2D72
secondary
#69BD8A
accent
#DF8349
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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