#8E2B73#8E2B73

#8E2B73 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.155 H 340.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8E2B73
RGBrgb(142, 43, 115)
HSLhsl(316, 54%, 36%)
HSVhsv(316, 70%, 56%)
CMYKcmyk(0%, 69.7%, 19%, 44.3%)
CIE-LABlab(35.44, 49.18, -19.23)
CIE-LCHlch(35.44, 52.81, 338.64°)
OKLaboklab(46.39% 0.1466 -0.0518)
OKLCHoklch(46.39% 0.155 340.5)
XYZxyz(15.1141, 8.7178, 17.1030)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B73 #2B8E46
analogous
#782B8E #8E2B73 #8E2B42
triadic
#8E2B73 #738E2B #2B738E
tetradic
#8E2B73 #8E782B #2B8E46 #2B428E
square
#8E2B73 #8E782B #2B8E46 #2B428E
split-complementary
#8E2B73 #428E2B #2B8E78
monochromatic
#300F27 #5F1D4D #8E2B73 #BD3999 #D063B2

Accessibility & contrast

On white

7.66
#8E2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B73
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B73#FFFFFF#000000##FFFFFF
##8E2B731.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#962D4B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2b73;
/* rgb */ color: rgb(142, 43, 115);
/* oklch */ color: oklch(46.4% 0.155 340.5);
Tailwind
colors: {
  custom: {
    50: '#b26d9b',
    500: '#8e2b73',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b73;
$custom-light: #b26d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b73",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 316.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.15544,
    "h": 340.5
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#8E2B73
secondary
#5FB677
accent
#DD734B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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