#9E307F#9E307F

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

Color values

HEX#9E307F
RGBrgb(158, 48, 127)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 70%, 62%)
CMYKcmyk(0%, 69.6%, 19.6%, 38%)
CIE-LABlab(39.44, 53.33, -20.30)
CIE-LCHlch(39.44, 57.06, 339.16°)
OKLaboklab(50.01% 0.1593 -0.0546)
OKLCHoklch(50.01% 0.168 341.1)
XYZxyz(18.9888, 10.9171, 21.1817)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E307F #309E4F
analogous
#86309E #9E307F #9E3048
triadic
#9E307F #7F9E30 #307F9E
tetradic
#9E307F #9E8630 #309E4F #30489E
square
#9E307F #9E8630 #309E4F #30489E
split-complementary
#9E307F #489E30 #309E86
monochromatic
#401334 #6F2259 #9E307F #C645A2 #D574B9

Accessibility & contrast

On white

6.60
#9E307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E307F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E307F#FFFFFF#000000##FFFFFF
##9E307F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e307f;
/* rgb */ color: rgb(158, 48, 127);
/* oklch */ color: oklch(50.0% 0.168 341.1);
Tailwind
colors: {
  custom: {
    50: '#be71a4',
    500: '#9e307f',
    950: '#000000',
  },
}
SCSS
$custom: #9e307f;
$custom-light: #be71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e307f",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 316.909,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.16834,
    "h": 341.1
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E307F

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

Preview Lab → · Contrast checker → · Palette generator →

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