#8E2E77#8E2E77

#8E2E77 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.154 H 338.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8E2E77
RGBrgb(142, 46, 119)
HSLhsl(314, 51%, 37%)
HSVhsv(314, 68%, 56%)
CMYKcmyk(0%, 67.6%, 16.2%, 44.3%)
CIE-LABlab(36.06, 48.56, -20.78)
CIE-LCHlch(36.06, 52.82, 336.84°)
OKLaboklab(46.9% 0.1436 -0.0562)
OKLCHoklch(46.9% 0.154 338.6)
XYZxyz(15.4624, 9.0381, 18.3794)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E77 #2E8E45
analogous
#752E8E #8E2E77 #8E2E47
triadic
#8E2E77 #778E2E #2E778E
tetradic
#8E2E77 #8E752E #2E8E45 #2E478E
square
#8E2E77 #8E752E #2E8E45 #2E478E
split-complementary
#8E2E77 #478E2E #2E8E75
monochromatic
#32102A #601F50 #8E2E77 #BC3D9E #CE68B6

Accessibility & contrast

On white

7.48
#8E2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E77
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E77#FFFFFF#000000##FFFFFF
##8E2E771.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#505A75
Tritanopia (blue-blind)
#96324E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2e77;
/* rgb */ color: rgb(142, 46, 119);
/* oklch */ color: oklch(46.9% 0.154 338.6);
Tailwind
colors: {
  custom: {
    50: '#b26e9e',
    500: '#8e2e77',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e77;
$custom-light: #b26e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e77",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 314.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.15419,
    "h": 338.6
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#8E2E77
secondary
#63B576
accent
#DB6F4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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