#9E317E#9E317E

#9E317E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.166 H 341.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9E317E
RGBrgb(158, 49, 126)
HSLhsl(318, 53%, 41%)
HSVhsv(318, 69%, 62%)
CMYKcmyk(0%, 69%, 20.3%, 38%)
CIE-LABlab(39.54, 52.79, -19.53)
CIE-LCHlch(39.54, 56.29, 339.70°)
OKLaboklab(50.07% 0.1579 -0.0524)
OKLCHoklch(50.07% 0.166 341.6)
XYZxyz(18.9653, 10.9739, 20.8540)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E317E #319E51
analogous
#87319E #9E317E #9E3147
triadic
#9E317E #7E9E31 #317E9E
tetradic
#9E317E #9E8731 #319E51 #31479E
square
#9E317E #9E8731 #319E51 #31479E
split-complementary
#9E317E #479E31 #319E87
monochromatic
#411433 #6F2359 #9E317E #C646A0 #D475B8

Accessibility & contrast

On white

6.57
#9E317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9E317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E317E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E317E#FFFFFF#000000##FFFFFF
##9E317E1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#A83353
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e317e;
/* rgb */ color: rgb(158, 49, 126);
/* oklch */ color: oklch(50.1% 0.166 341.6);
Tailwind
colors: {
  custom: {
    50: '#be72a3',
    500: '#9e317e',
    950: '#000000',
  },
}
SCSS
$custom: #9e317e;
$custom-light: #be72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e317e",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 317.615,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.16636,
    "h": 341.6
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#9E317E
secondary
#6EBC85
accent
#DC764C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E317E

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

Preview Lab → · Contrast checker → · Palette generator →

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