#9E307A#9E307A

#9E307A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.165 H 343.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E307A
RGBrgb(158, 48, 122)
HSLhsl(320, 53%, 40%)
HSVhsv(320, 70%, 62%)
CMYKcmyk(0%, 69.6%, 22.8%, 38%)
CIE-LABlab(39.22, 52.62, -17.53)
CIE-LCHlch(39.22, 55.46, 341.57°)
OKLaboklab(49.79% 0.1583 -0.0468)
OKLCHoklch(49.79% 0.165 343.5)
XYZxyz(18.6710, 10.7900, 19.5080)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E307A #309E54
analogous
#8B309E #9E307A #9E3043
triadic
#9E307A #7A9E30 #307A9E
tetradic
#9E307A #9E8B30 #309E54 #30439E
square
#9E307A #9E8B30 #309E54 #30439E
split-complementary
#9E307A #439E30 #309E8B
monochromatic
#401332 #6F2256 #9E307A #C6459C #D574B5

Accessibility & contrast

On white

6.65
#9E307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E307A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E307A#FFFFFF#000000##FFFFFF
##9E307A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#A83050
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e307a;
/* rgb */ color: rgb(158, 48, 122);
/* oklch */ color: oklch(49.8% 0.165 343.5);
Tailwind
colors: {
  custom: {
    50: '#be71a0',
    500: '#9e307a',
    950: '#000000',
  },
}
SCSS
$custom: #9e307a;
$custom-light: #be71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e307a",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 319.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.16505,
    "h": 343.5
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#9E307A
secondary
#6DBD87
accent
#DD7B4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E307A

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

Preview Lab → · Contrast checker → · Palette generator →

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