#8E367B#8E367B

#8E367B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.145 H 337.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8E367B
RGBrgb(142, 54, 123)
HSLhsl(313, 45%, 38%)
HSVhsv(313, 62%, 56%)
CMYKcmyk(0%, 62%, 13.4%, 44.3%)
CIE-LABlab(37.52, 45.68, -21.01)
CIE-LCHlch(37.52, 50.28, 335.30°)
OKLaboklab(48.03% 0.1338 -0.0569)
OKLCHoklch(48.03% 0.145 337)
XYZxyz(16.0498, 9.8205, 19.7853)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E367B #368E49
analogous
#75368E #8E367B #8E364F
triadic
#8E367B #7B8E36 #367B8E
tetradic
#8E367B #8E7536 #368E49 #364F8E
square
#8E367B #8E7536 #368E49 #364F8E
split-complementary
#8E367B #4F8E36 #368E75
monochromatic
#35142E #622555 #8E367B #B948A1 #CA74B8

Accessibility & contrast

On white

7.09
#8E367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E367B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E367B#FFFFFF#000000##FFFFFF
##8E367B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#953A53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e367b;
/* rgb */ color: rgb(142, 54, 123);
/* oklch */ color: oklch(48.0% 0.145 337.0);
Tailwind
colors: {
  custom: {
    50: '#b273a1',
    500: '#8e367b',
    950: '#000000',
  },
}
SCSS
$custom: #8e367b;
$custom-light: #b273a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e367b",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 312.955,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.14541,
    "h": 337
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#8E367B
secondary
#6DB37C
accent
#D56F53
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8E367B

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

Preview Lab → · Contrast checker → · Palette generator →

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