#8E306E#8E306E

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

Color values

HEX#8E306E
RGBrgb(142, 48, 110)
HSLhsl(320, 49%, 37%)
HSVhsv(320, 66%, 56%)
CMYKcmyk(0%, 66.2%, 22.5%, 44.3%)
CIE-LABlab(35.97, 46.36, -15.26)
CIE-LCHlch(35.97, 48.81, 341.78°)
OKLaboklab(46.71% 0.1392 -0.0407)
OKLCHoklch(46.71% 0.145 343.7)
XYZxyz(15.0272, 8.9919, 15.6930)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E306E #308E50
analogous
#7F308E #8E306E #8E303F
triadic
#8E306E #6E8E30 #306E8E
tetradic
#8E306E #8E7F30 #308E50 #303F8E
square
#8E306E #8E7F30 #308E50 #303F8E
split-complementary
#8E306E #3F8E30 #308E7F
monochromatic
#331127 #60214B #8E306E #BC3F91 #CD6BAC

Accessibility & contrast

On white

7.51
#8E306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E306E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E306E#FFFFFF#000000##FFFFFF
##8E306E1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#545A6C
Tritanopia (blue-blind)
#97304A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e306e;
/* rgb */ color: rgb(142, 48, 110);
/* oklch */ color: oklch(46.7% 0.145 343.7);
Tailwind
colors: {
  custom: {
    50: '#b26f97',
    500: '#8e306e',
    950: '#000000',
  },
}
SCSS
$custom: #8e306e;
$custom-light: #b26f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e306e",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 320.426,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.14502,
    "h": 343.7
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#8E306E
secondary
#65B480
accent
#D97E4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E306E

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

Preview Lab → · Contrast checker → · Palette generator →

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