#9E306C#9E306C

#9E306C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.157 H 350.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E306C
RGBrgb(158, 48, 108)
HSLhsl(327, 53%, 40%)
HSVhsv(327, 70%, 62%)
CMYKcmyk(0%, 69.6%, 31.6%, 38%)
CIE-LABlab(38.67, 50.77, -9.64)
CIE-LCHlch(38.67, 51.68, 349.25°)
OKLaboklab(49.2% 0.1549 -0.025)
OKLCHoklch(49.2% 0.157 350.8)
XYZxyz(17.8652, 10.4677, 15.2641)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E306C #309E62
analogous
#99309E #9E306C #9E3035
triadic
#9E306C #6C9E30 #306C9E
tetradic
#9E306C #9E9930 #309E62 #30359E
square
#9E306C #9E9930 #309E62 #30359E
split-complementary
#9E306C #359E30 #309E99
monochromatic
#40132C #6F224C #9E306C #C6458B #D574A9

Accessibility & contrast

On white

6.79
#9E306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E306C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E306C#FFFFFF#000000##FFFFFF
##9E306C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#AA2A4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e306c;
/* rgb */ color: rgb(158, 48, 108);
/* oklch */ color: oklch(49.2% 0.157 350.8);
Tailwind
colors: {
  custom: {
    50: '#bf7196',
    500: '#9e306c',
    950: '#000000',
  },
}
SCSS
$custom: #9e306c;
$custom-light: #bf7196;
$custom-dark: #000000;
JSON
{
  "hex": "#9e306c",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 327.273,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49196,
    "c": 0.15687,
    "h": 350.8
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#9E306C
secondary
#6DBD91
accent
#DD8D4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E306C

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

Preview Lab → · Contrast checker → · Palette generator →

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