#9E306B#9E306B

#9E306B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.156 H 351.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E306B
RGBrgb(158, 48, 107)
HSLhsl(328, 53%, 40%)
HSVhsv(328, 70%, 62%)
CMYKcmyk(0%, 69.6%, 32.3%, 38%)
CIE-LABlab(38.63, 50.65, -9.07)
CIE-LCHlch(38.63, 51.45, 349.85°)
OKLaboklab(49.16% 0.1546 -0.0235)
OKLCHoklch(49.16% 0.156 351.4)
XYZxyz(17.8123, 10.4465, 14.9854)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E306B #309E63
analogous
#9A309E #9E306B #9E3034
triadic
#9E306B #6B9E30 #306B9E
tetradic
#9E306B #9E9A30 #309E63 #30349E
square
#9E306B #9E9A30 #309E63 #30349E
split-complementary
#9E306B #349E30 #309E9A
monochromatic
#40132B #6F224B #9E306B #C6458A #D574A8

Accessibility & contrast

On white

6.80
#9E306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E306B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E306B#FFFFFF#000000##FFFFFF
##9E306B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AA2949
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e306b;
/* rgb */ color: rgb(158, 48, 107);
/* oklch */ color: oklch(49.2% 0.156 351.4);
Tailwind
colors: {
  custom: {
    50: '#bf7195',
    500: '#9e306b',
    950: '#000000',
  },
}
SCSS
$custom: #9e306b;
$custom-light: #bf7195;
$custom-dark: #000000;
JSON
{
  "hex": "#9e306b",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 327.818,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.15635,
    "h": 351.4
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#9E306B
secondary
#6DBD92
accent
#DD8F4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E306B

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

Preview Lab → · Contrast checker → · Palette generator →

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