#8E367F#8E367F

#8E367F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.149 H 334.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8E367F
RGBrgb(142, 54, 127)
HSLhsl(310, 45%, 38%)
HSVhsv(310, 62%, 56%)
CMYKcmyk(0%, 62%, 10.6%, 44.3%)
CIE-LABlab(37.70, 46.34, -23.20)
CIE-LCHlch(37.70, 51.83, 333.41°)
OKLaboklab(48.23% 0.1345 -0.0631)
OKLCHoklch(48.23% 0.149 334.9)
XYZxyz(16.3054, 9.9227, 21.1310)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E367F #368E45
analogous
#71368E #8E367F #8E3653
triadic
#8E367F #7F8E36 #367F8E
tetradic
#8E367F #8E7136 #368E45 #36538E
square
#8E367F #8E7136 #368E45 #36538E
split-complementary
#8E367F #538E36 #368E71
monochromatic
#351430 #622557 #8E367F #B948A6 #CA74BC

Accessibility & contrast

On white

7.04
#8E367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8E367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E367F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E367F#FFFFFF#000000##FFFFFF
##8E367F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#515D7D
Tritanopia (blue-blind)
#953B55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e367f;
/* rgb */ color: rgb(142, 54, 127);
/* oklch */ color: oklch(48.2% 0.149 334.9);
Tailwind
colors: {
  custom: {
    50: '#b273a4',
    500: '#8e367f',
    950: '#000000',
  },
}
SCSS
$custom: #8e367f;
$custom-light: #b273a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e367f",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 310.227,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.1486,
    "h": 334.9
  },
  "luminance": 0.09921
}

Semantic roles & 50–950 ramp

primary
#8E367F
secondary
#6DB379
accent
#D56953
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E367F

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

Preview Lab → · Contrast checker → · Palette generator →

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