#9E306D#9E306D

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

Color values

HEX#9E306D
RGBrgb(158, 48, 109)
HSLhsl(327, 53%, 40%)
HSVhsv(327, 70%, 62%)
CMYKcmyk(0%, 69.6%, 31%, 38%)
CIE-LABlab(38.71, 50.90, -10.21)
CIE-LCHlch(38.71, 51.91, 348.66°)
OKLaboklab(49.24% 0.1551 -0.0266)
OKLCHoklch(49.24% 0.157 350.3)
XYZxyz(17.9187, 10.4891, 15.5460)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E306D #309E61
analogous
#98309E #9E306D #9E3036
triadic
#9E306D #6D9E30 #306D9E
tetradic
#9E306D #9E9830 #309E61 #30369E
square
#9E306D #9E9830 #309E61 #30369E
split-complementary
#9E306D #369E30 #309E98
monochromatic
#40132C #6F224D #9E306D #C6458D #D574A9

Accessibility & contrast

On white

6.78
#9E306D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E306D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E306D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E306D#FFFFFF#000000##FFFFFF
##9E306D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#60626A
Tritanopia (blue-blind)
#AA2A4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e306d;
/* rgb */ color: rgb(158, 48, 109);
/* oklch */ color: oklch(49.2% 0.157 350.3);
Tailwind
colors: {
  custom: {
    50: '#be7196',
    500: '#9e306d',
    950: '#000000',
  },
}
SCSS
$custom: #9e306d;
$custom-light: #be7196;
$custom-dark: #000000;
JSON
{
  "hex": "#9e306d",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 326.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.1574,
    "h": 350.3
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#9E306D
secondary
#6DBD91
accent
#DD8C4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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