#9E2772#9E2772

#9E2772 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.171 H 346.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E2772
RGBrgb(158, 39, 114)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 75.3%, 27.8%, 38%)
CIE-LABlab(37.73, 54.82, -14.83)
CIE-LCHlch(37.73, 56.79, 344.86°)
OKLaboklab(48.59% 0.1666 -0.0392)
OKLCHoklch(48.59% 0.171 346.8)
XYZxyz(17.8642, 9.9370, 16.8936)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2772 #279E53
analogous
#8E279E #9E2772 #9E2736
triadic
#9E2772 #729E27 #27729E
tetradic
#9E2772 #9E8E27 #279E53 #27369E
square
#9E2772 #9E8E27 #279E53 #27369E
split-complementary
#9E2772 #369E27 #279E8E
monochromatic
#3C0F2B #6D1B4F #9E2772 #CD3595 #D966AF

Accessibility & contrast

On white

7.03
#9E2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2772
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2772#FFFFFF#000000##FFFFFF
##9E27721.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2772;
/* rgb */ color: rgb(158, 39, 114);
/* oklch */ color: oklch(48.6% 0.171 346.8);
Tailwind
colors: {
  custom: {
    50: '#bf6d9a',
    500: '#9e2772',
    950: '#000000',
  },
}
SCSS
$custom: #9e2772;
$custom-light: #bf6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2772",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 322.185,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.17118,
    "h": 346.8
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#9E2772
secondary
#62BF84
accent
#E47F44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2772

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

Preview Lab → · Contrast checker → · Palette generator →

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