#9E2872#9E2872

#9E2872 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.170 H 346.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9E2872
RGBrgb(158, 40, 114)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 74.7%, 27.8%, 38%)
CIE-LABlab(37.85, 54.48, -14.65)
CIE-LCHlch(37.85, 56.41, 344.95°)
OKLaboklab(48.67% 0.1656 -0.0387)
OKLCHoklch(48.67% 0.17 346.8)
XYZxyz(17.8974, 10.0036, 16.9047)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2872 #289E54
analogous
#8F289E #9E2872 #9E2837
triadic
#9E2872 #729E28 #28729E
tetradic
#9E2872 #9E8F28 #289E54 #28379E
square
#9E2872 #9E8F28 #289E54 #28379E
split-complementary
#9E2872 #379E28 #289E8F
monochromatic
#3C0F2C #6D1C4F #9E2872 #CC3795 #D968AF

Accessibility & contrast

On white

7.00
#9E2872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E2872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2872
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2872#FFFFFF#000000##FFFFFF
##9E28721.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A92449
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2872;
/* rgb */ color: rgb(158, 40, 114);
/* oklch */ color: oklch(48.7% 0.170 346.8);
Tailwind
colors: {
  custom: {
    50: '#bf6d9a',
    500: '#9e2872',
    950: '#000000',
  },
}
SCSS
$custom: #9e2872;
$custom-light: #bf6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2872",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 322.373,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.17004,
    "h": 346.8
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#9E2872
secondary
#63BF85
accent
#E38045
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2872

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

Preview Lab → · Contrast checker → · Palette generator →

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