#9E317A#9E317A

#9E317A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.164 H 343.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9E317A
RGBrgb(158, 49, 122)
HSLhsl(320, 53%, 41%)
HSVhsv(320, 69%, 62%)
CMYKcmyk(0%, 69%, 22.8%, 38%)
CIE-LABlab(39.37, 52.23, -17.32)
CIE-LCHlch(39.37, 55.02, 341.65°)
OKLaboklab(49.89% 0.1571 -0.0462)
OKLCHoklch(49.89% 0.164 343.6)
XYZxyz(18.7124, 10.8727, 19.5217)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E317A #319E55
analogous
#8C319E #9E317A #9E3143
triadic
#9E317A #7A9E31 #317A9E
tetradic
#9E317A #9E8C31 #319E55 #31439E
square
#9E317A #9E8C31 #319E55 #31439E
split-complementary
#9E317A #439E31 #319E8C
monochromatic
#411432 #6F2356 #9E317A #C6469C #D475B5

Accessibility & contrast

On white

6.62
#9E317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E317A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E317A#FFFFFF#000000##FFFFFF
##9E317A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#A83151
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e317a;
/* rgb */ color: rgb(158, 49, 122);
/* oklch */ color: oklch(49.9% 0.164 343.6);
Tailwind
colors: {
  custom: {
    50: '#be72a0',
    500: '#9e317a',
    950: '#000000',
  },
}
SCSS
$custom: #9e317a;
$custom-light: #be72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e317a",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 319.817,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.16373,
    "h": 343.6
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#9E317A
secondary
#6EBC88
accent
#DC7B4C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E317A

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

Preview Lab → · Contrast checker → · Palette generator →

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