#8E306D#8E306D

#8E306D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.144 H 344.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8E306D
RGBrgb(142, 48, 109)
HSLhsl(321, 49%, 37%)
HSVhsv(321, 66%, 56%)
CMYKcmyk(0%, 66.2%, 23.2%, 44.3%)
CIE-LABlab(35.93, 46.22, -14.69)
CIE-LCHlch(35.93, 48.50, 342.36°)
OKLaboklab(46.66% 0.139 -0.0391)
OKLCHoklch(46.66% 0.144 344.3)
XYZxyz(14.9731, 8.9703, 15.4079)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E306D #308E51
analogous
#80308E #8E306D #8E303E
triadic
#8E306D #6D8E30 #306D8E
tetradic
#8E306D #8E8030 #308E51 #303E8E
square
#8E306D #8E8030 #308E51 #303E8E
split-complementary
#8E306D #3E8E30 #308E80
monochromatic
#331127 #60214A #8E306D #BC3F90 #CD6BAB

Accessibility & contrast

On white

7.52
#8E306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E306D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E306D#FFFFFF#000000##FFFFFF
##8E306D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6F
Deuteranopia (green-blind)
#555A6B
Tritanopia (blue-blind)
#972F4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e306d;
/* rgb */ color: rgb(142, 48, 109);
/* oklch */ color: oklch(46.7% 0.144 344.3);
Tailwind
colors: {
  custom: {
    50: '#b26f97',
    500: '#8e306d',
    950: '#000000',
  },
}
SCSS
$custom: #8e306d;
$custom-light: #b26f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e306d",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 321.064,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.14437,
    "h": 344.3
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#8E306D
secondary
#65B481
accent
#D97F4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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