#9E306F#9E306F

#9E306F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.158 H 349.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9E306F
RGBrgb(158, 48, 111)
HSLhsl(326, 53%, 40%)
HSVhsv(326, 70%, 62%)
CMYKcmyk(0%, 69.6%, 29.7%, 38%)
CIE-LABlab(38.78, 51.15, -11.35)
CIE-LCHlch(38.78, 52.39, 347.49°)
OKLaboklab(49.32% 0.1557 -0.0297)
OKLCHoklch(49.32% 0.158 349.2)
XYZxyz(18.0276, 10.5327, 16.1195)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E306F #309E5F
analogous
#96309E #9E306F #9E3038
triadic
#9E306F #6F9E30 #306F9E
tetradic
#9E306F #9E9630 #309E5F #30389E
square
#9E306F #9E9630 #309E5F #30389E
split-complementary
#9E306F #389E30 #309E96
monochromatic
#40132D #6F224E #9E306F #C6458F #D574AB

Accessibility & contrast

On white

6.76
#9E306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E306F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E306F#FFFFFF#000000##FFFFFF
##9E306F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#A92B4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e306f;
/* rgb */ color: rgb(158, 48, 111);
/* oklch */ color: oklch(49.3% 0.158 349.2);
Tailwind
colors: {
  custom: {
    50: '#be7198',
    500: '#9e306f',
    950: '#000000',
  },
}
SCSS
$custom: #9e306f;
$custom-light: #be7198;
$custom-dark: #000000;
JSON
{
  "hex": "#9e306f",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 325.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.15849,
    "h": 349.2
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#9E306F
secondary
#6DBD8F
accent
#DD894B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E306F

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

Preview Lab → · Contrast checker → · Palette generator →

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