#9E2E72#9E2E72

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

Color values

HEX#9E2E72
RGBrgb(158, 46, 114)
HSLhsl(324, 55%, 40%)
HSVhsv(324, 71%, 62%)
CMYKcmyk(0%, 70.9%, 27.8%, 38%)
CIE-LABlab(38.62, 52.31, -13.47)
CIE-LCHlch(38.62, 54.02, 345.56°)
OKLaboklab(49.24% 0.1588 -0.0355)
OKLCHoklch(49.24% 0.163 347.4)
XYZxyz(18.1156, 10.4399, 16.9774)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E72 #2E9E5A
analogous
#922E9E #9E2E72 #9E2E3A
triadic
#9E2E72 #729E2E #2E729E
tetradic
#9E2E72 #9E922E #2E9E5A #2E3A9E
square
#9E2E72 #9E922E #2E9E5A #2E3A9E
split-complementary
#9E2E72 #3A9E2E #2E9E92
monochromatic
#3F122E #6F2050 #9E2E72 #C84193 #D671AE

Accessibility & contrast

On white

6.80
#9E2E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E2E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E72
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E72#FFFFFF#000000##FFFFFF
##9E2E721.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2e72;
/* rgb */ color: rgb(158, 46, 114);
/* oklch */ color: oklch(49.2% 0.163 347.4);
Tailwind
colors: {
  custom: {
    50: '#be709a',
    500: '#9e2e72',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e72;
$custom-light: #be709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e72",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 323.571,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.16276,
    "h": 347.4
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#9E2E72
secondary
#6BBD8B
accent
#DE844A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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