#8E315D#8E315D

#8E315D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.134 H 354.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8E315D
RGBrgb(142, 49, 93)
HSLhsl(332, 49%, 37%)
HSVhsv(332, 65%, 56%)
CMYKcmyk(0%, 65.5%, 34.5%, 44.3%)
CIE-LABlab(35.48, 43.61, -5.21)
CIE-LCHlch(35.48, 43.92, 353.19°)
OKLaboklab(46.13% 0.1331 -0.0132)
OKLCHoklch(46.13% 0.134 354.3)
XYZxyz(14.2302, 8.7393, 11.2912)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E315D #318E62
analogous
#8E318B #8E315D #8E3431
triadic
#8E315D #5D8E31 #315D8E
tetradic
#8E315D #8B8E31 #318E62 #34318E
square
#8E315D #8B8E31 #318E62 #34318E
split-complementary
#8E315D #318E34 #318B8E
monochromatic
#331221 #61213F #8E315D #BB417B #CD6D9A

Accessibility & contrast

On white

7.64
#8E315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E315D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E315D#FFFFFF#000000##FFFFFF
##8E315D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495E
Deuteranopia (green-blind)
#595A5B
Tritanopia (blue-blind)
#992A43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e315d;
/* rgb */ color: rgb(142, 49, 93);
/* oklch */ color: oklch(46.1% 0.134 354.3);
Tailwind
colors: {
  custom: {
    50: '#b36f8a',
    500: '#8e315d',
    950: '#000000',
  },
}
SCSS
$custom: #8e315d;
$custom-light: #b36f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e315d",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 331.613,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.13376,
    "h": 354.3
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#8E315D
secondary
#67B48F
accent
#D89850
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8E315D

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

Preview Lab → · Contrast checker → · Palette generator →

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