#9E2D71#9E2D71

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

Color values

HEX#9E2D71
RGBrgb(158, 45, 113)
HSLhsl(324, 56%, 40%)
HSVhsv(324, 72%, 62%)
CMYKcmyk(0%, 71.5%, 28.5%, 38%)
CIE-LABlab(38.45, 52.56, -13.11)
CIE-LCHlch(38.45, 54.17, 345.99°)
OKLaboklab(49.1% 0.1598 -0.0345)
OKLCHoklch(49.1% 0.163 347.8)
XYZxyz(18.0204, 10.3401, 16.6664)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D71 #2D9E5A
analogous
#932D9E #9E2D71 #9E2D38
triadic
#9E2D71 #719E2D #2D719E
tetradic
#9E2D71 #9E932D #2D9E5A #2D389E
square
#9E2D71 #9E932D #2D9E5A #2D389E
split-complementary
#9E2D71 #389E2D #2D9E93
monochromatic
#3F122D #6E1F4F #9E2D71 #C94092 #D66FAD

Accessibility & contrast

On white

6.85
#9E2D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2D71
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2D71#FFFFFF#000000##FFFFFF
##9E2D711.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2d71;
/* rgb */ color: rgb(158, 45, 113);
/* oklch */ color: oklch(49.1% 0.163 347.8);
Tailwind
colors: {
  custom: {
    50: '#be7099',
    500: '#9e2d71',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d71;
$custom-light: #be7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d71",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 323.894,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.16346,
    "h": 347.8
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#9E2D71
secondary
#69BD8B
accent
#DF8549
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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