#9E2C71#9E2C71

#9E2C71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.165 H 347.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9E2C71
RGBrgb(158, 44, 113)
HSLhsl(324, 56%, 40%)
HSVhsv(324, 72%, 62%)
CMYKcmyk(0%, 72.2%, 28.5%, 38%)
CIE-LABlab(38.31, 52.93, -13.31)
CIE-LCHlch(38.31, 54.58, 345.88°)
OKLaboklab(49% 0.1609 -0.0351)
OKLCHoklch(49% 0.165 347.7)
XYZxyz(17.9827, 10.2647, 16.6538)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C71 #2C9E59
analogous
#922C9E #9E2C71 #9E2C38
triadic
#9E2C71 #719E2C #2C719E
tetradic
#9E2C71 #9E922C #2C9E59 #2C389E
square
#9E2C71 #9E922C #2C9E59 #2C389E
split-complementary
#9E2C71 #389E2C #2C9E92
monochromatic
#3E112D #6E1F4F #9E2C71 #C93E92 #D76EAD

Accessibility & contrast

On white

6.88
#9E2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C71
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C71#FFFFFF#000000##FFFFFF
##9E2C711.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2c71;
/* rgb */ color: rgb(158, 44, 113);
/* oklch */ color: oklch(49.0% 0.165 347.7);
Tailwind
colors: {
  custom: {
    50: '#bf6f99',
    500: '#9e2c71',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c71;
$custom-light: #bf6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c71",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 323.684,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.1647,
    "h": 347.7
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#9E2C71
secondary
#68BE8A
accent
#E08448
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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