#8E315E#8E315E

#8E315E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.2% C 0.134 H 353.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8E315E
RGBrgb(142, 49, 94)
HSLhsl(331, 49%, 37%)
HSVhsv(331, 65%, 56%)
CMYKcmyk(0%, 65.5%, 33.8%, 44.3%)
CIE-LABlab(35.51, 43.74, -5.80)
CIE-LCHlch(35.51, 44.12, 352.45°)
OKLaboklab(46.17% 0.1334 -0.0148)
OKLCHoklch(46.17% 0.134 353.7)
XYZxyz(14.2748, 8.7571, 11.5260)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E315E #318E61
analogous
#8E318C #8E315E #8E3331
triadic
#8E315E #5E8E31 #315E8E
tetradic
#8E315E #8C8E31 #318E61 #33318E
square
#8E315E #8C8E31 #318E61 #33318E
split-complementary
#8E315E #318E33 #318C8E
monochromatic
#331222 #612140 #8E315E #BB417C #CD6D9B

Accessibility & contrast

On white

7.63
#8E315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E315E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E315E#FFFFFF#000000##FFFFFF
##8E315E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#595A5C
Tritanopia (blue-blind)
#992B43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e315e;
/* rgb */ color: rgb(142, 49, 94);
/* oklch */ color: oklch(46.2% 0.134 353.7);
Tailwind
colors: {
  custom: {
    50: '#b36f8b',
    500: '#8e315e',
    950: '#000000',
  },
}
SCSS
$custom: #8e315e;
$custom-light: #b36f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e315e",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 330.968,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.13425,
    "h": 353.7
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#8E315E
secondary
#67B48F
accent
#D89650
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8E315E

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

Preview Lab → · Contrast checker → · Palette generator →

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