#8E306A#8E306A

#8E306A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.142 H 346.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8E306A
RGBrgb(142, 48, 106)
HSLhsl(323, 49%, 37%)
HSVhsv(323, 66%, 56%)
CMYKcmyk(0%, 66.2%, 25.4%, 44.3%)
CIE-LABlab(35.80, 45.79, -12.98)
CIE-LCHlch(35.80, 47.59, 344.17°)
OKLaboklab(46.53% 0.1382 -0.0344)
OKLCHoklch(46.53% 0.142 346)
XYZxyz(14.8144, 8.9068, 14.5719)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E306A #308E54
analogous
#83308E #8E306A #8E303B
triadic
#8E306A #6A8E30 #306A8E
tetradic
#8E306A #8E8330 #308E54 #303B8E
square
#8E306A #8E8330 #308E54 #303B8E
split-complementary
#8E306A #3B8E30 #308E83
monochromatic
#331126 #602148 #8E306A #BC3F8C #CD6BA8

Accessibility & contrast

On white

7.55
#8E306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E306A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E306A#FFFFFF#000000##FFFFFF
##8E306A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6C
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#972E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e306a;
/* rgb */ color: rgb(142, 48, 106);
/* oklch */ color: oklch(46.5% 0.142 346.0);
Tailwind
colors: {
  custom: {
    50: '#b26f94',
    500: '#8e306a',
    950: '#000000',
  },
}
SCSS
$custom: #8e306a;
$custom-light: #b26f94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e306a",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 322.979,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.14245,
    "h": 346
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#8E306A
secondary
#65B484
accent
#D9844F
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E306A

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

Preview Lab → · Contrast checker → · Palette generator →

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