#8E367E#8E367E

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

Color values

HEX#8E367E
RGBrgb(142, 54, 126)
HSLhsl(311, 45%, 38%)
HSVhsv(311, 62%, 56%)
CMYKcmyk(0%, 62%, 11.3%, 44.3%)
CIE-LABlab(37.66, 46.18, -22.66)
CIE-LCHlch(37.66, 51.43, 333.87°)
OKLaboklab(48.18% 0.1344 -0.0616)
OKLCHoklch(48.18% 0.148 335.4)
XYZxyz(16.2405, 9.8967, 20.7895)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E367E #368E46
analogous
#72368E #8E367E #8E3652
triadic
#8E367E #7E8E36 #367E8E
tetradic
#8E367E #8E7236 #368E46 #36528E
square
#8E367E #8E7236 #368E46 #36528E
split-complementary
#8E367E #528E36 #368E72
monochromatic
#35142F #622557 #8E367E #B948A5 #CA74BB

Accessibility & contrast

On white

7.05
#8E367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E367E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E367E#FFFFFF#000000##FFFFFF
##8E367E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#525D7C
Tritanopia (blue-blind)
#953B55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e367e;
/* rgb */ color: rgb(142, 54, 126);
/* oklch */ color: oklch(48.2% 0.148 335.4);
Tailwind
colors: {
  custom: {
    50: '#b273a3',
    500: '#8e367e',
    950: '#000000',
  },
}
SCSS
$custom: #8e367e;
$custom-light: #b273a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e367e",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 310.909,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.1478,
    "h": 335.4
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#8E367E
secondary
#6DB37A
accent
#D56B53
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8E367E

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

Preview Lab → · Contrast checker → · Palette generator →

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