#8E2E76#8E2E76

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

Color values

HEX#8E2E76
RGBrgb(142, 46, 118)
HSLhsl(315, 51%, 37%)
HSVhsv(315, 68%, 56%)
CMYKcmyk(0%, 67.6%, 16.9%, 44.3%)
CIE-LABlab(36.01, 48.41, -20.22)
CIE-LCHlch(36.01, 52.46, 337.33°)
OKLaboklab(46.85% 0.1434 -0.0546)
OKLCHoklch(46.85% 0.153 339.2)
XYZxyz(15.4027, 9.0142, 18.0647)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E76 #2E8E46
analogous
#762E8E #8E2E76 #8E2E46
triadic
#8E2E76 #768E2E #2E768E
tetradic
#8E2E76 #8E762E #2E8E46 #2E468E
square
#8E2E76 #8E762E #2E8E46 #2E468E
split-complementary
#8E2E76 #468E2E #2E8E76
monochromatic
#321029 #601F50 #8E2E76 #BC3D9C #CE68B5

Accessibility & contrast

On white

7.49
#8E2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E76
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E76#FFFFFF#000000##FFFFFF
##8E2E761.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#515A74
Tritanopia (blue-blind)
#96314E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2e76;
/* rgb */ color: rgb(142, 46, 118);
/* oklch */ color: oklch(46.9% 0.153 339.2);
Tailwind
colors: {
  custom: {
    50: '#b26e9d',
    500: '#8e2e76',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e76;
$custom-light: #b26e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e76",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 315,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.15345,
    "h": 339.2
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#8E2E76
secondary
#63B577
accent
#DB714D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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