#8E306F#8E306F

#8E306F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.146 H 343.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8E306F
RGBrgb(142, 48, 111)
HSLhsl(320, 49%, 37%)
HSVhsv(320, 66%, 56%)
CMYKcmyk(0%, 66.2%, 21.8%, 44.3%)
CIE-LABlab(36.01, 46.51, -15.83)
CIE-LCHlch(36.01, 49.13, 341.21°)
OKLaboklab(46.75% 0.1394 -0.0422)
OKLCHoklch(46.75% 0.146 343.1)
XYZxyz(15.0820, 9.0138, 15.9814)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E306F #308E4F
analogous
#7E308E #8E306F #8E3040
triadic
#8E306F #6F8E30 #306F8E
tetradic
#8E306F #8E7E30 #308E4F #30408E
square
#8E306F #8E7E30 #308E4F #30408E
split-complementary
#8E306F #408E30 #308E7E
monochromatic
#331127 #60214B #8E306F #BC3F93 #CD6BAD

Accessibility & contrast

On white

7.49
#8E306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E306F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E306F#FFFFFF#000000##FFFFFF
##8E306F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#545A6D
Tritanopia (blue-blind)
#97304B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e306f;
/* rgb */ color: rgb(142, 48, 111);
/* oklch */ color: oklch(46.8% 0.146 343.1);
Tailwind
colors: {
  custom: {
    50: '#b26f98',
    500: '#8e306f',
    950: '#000000',
  },
}
SCSS
$custom: #8e306f;
$custom-light: #b26f98;
$custom-dark: #000000;
JSON
{
  "hex": "#8e306f",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 319.787,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.14569,
    "h": 343.1
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#8E306F
secondary
#65B47F
accent
#D97C4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E306F

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

Preview Lab → · Contrast checker → · Palette generator →

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