#9E307E#9E307E

#9E307E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.168 H 341.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9E307E
RGBrgb(158, 48, 126)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 70%, 62%)
CMYKcmyk(0%, 69.6%, 20.3%, 38%)
CIE-LABlab(39.40, 53.18, -19.75)
CIE-LCHlch(39.40, 56.73, 339.63°)
OKLaboklab(49.97% 0.1591 -0.053)
OKLCHoklch(49.97% 0.168 341.6)
XYZxyz(18.9240, 10.8912, 20.8402)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E307E #309E50
analogous
#87309E #9E307E #9E3047
triadic
#9E307E #7E9E30 #307E9E
tetradic
#9E307E #9E8730 #309E50 #30479E
square
#9E307E #9E8730 #309E50 #30479E
split-complementary
#9E307E #479E30 #309E87
monochromatic
#401333 #6F2259 #9E307E #C645A1 #D574B8

Accessibility & contrast

On white

6.61
#9E307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E307E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E307E#FFFFFF#000000##FFFFFF
##9E307E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395180
Deuteranopia (green-blind)
#5B637B
Tritanopia (blue-blind)
#A83253
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e307e;
/* rgb */ color: rgb(158, 48, 126);
/* oklch */ color: oklch(50.0% 0.168 341.6);
Tailwind
colors: {
  custom: {
    50: '#be71a3',
    500: '#9e307e',
    950: '#000000',
  },
}
SCSS
$custom: #9e307e;
$custom-light: #be71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e307e",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 317.455,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.16766,
    "h": 341.6
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#9E307E
secondary
#6DBD84
accent
#DD754B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E307E

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

Preview Lab → · Contrast checker → · Palette generator →

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