#8E2E75#8E2E75

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

Color values

HEX#8E2E75
RGBrgb(142, 46, 117)
HSLhsl(316, 51%, 37%)
HSVhsv(316, 68%, 56%)
CMYKcmyk(0%, 67.6%, 17.6%, 44.3%)
CIE-LABlab(35.97, 48.26, -19.67)
CIE-LCHlch(35.97, 52.11, 337.83°)
OKLaboklab(46.81% 0.1432 -0.053)
OKLCHoklch(46.81% 0.153 339.7)
XYZxyz(15.3436, 8.9905, 17.7534)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E75 #2E8E47
analogous
#772E8E #8E2E75 #8E2E45
triadic
#8E2E75 #758E2E #2E758E
tetradic
#8E2E75 #8E772E #2E8E47 #2E458E
square
#8E2E75 #8E772E #2E8E47 #2E458E
split-complementary
#8E2E75 #458E2E #2E8E77
monochromatic
#321029 #601F4F #8E2E75 #BC3D9B #CE68B4

Accessibility & contrast

On white

7.51
#8E2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2E75
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E75#FFFFFF#000000##FFFFFF
##8E2E751.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B77
Deuteranopia (green-blind)
#515A73
Tritanopia (blue-blind)
#96314D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2e75;
/* rgb */ color: rgb(142, 46, 117);
/* oklch */ color: oklch(46.8% 0.153 339.7);
Tailwind
colors: {
  custom: {
    50: '#b26e9d',
    500: '#8e2e75',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e75;
$custom-light: #b26e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e75",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 315.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46806,
    "c": 0.15273,
    "h": 339.7
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#8E2E75
secondary
#63B578
accent
#DB724D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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