#8E2E73#8E2E73

#8E2E73 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.151 H 340.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8E2E73
RGBrgb(142, 46, 115)
HSLhsl(317, 51%, 37%)
HSVhsv(317, 68%, 56%)
CMYKcmyk(0%, 67.6%, 19%, 44.3%)
CIE-LABlab(35.88, 47.95, -18.55)
CIE-LCHlch(35.88, 51.42, 338.85°)
OKLaboklab(46.71% 0.1429 -0.0499)
OKLCHoklch(46.71% 0.151 340.8)
XYZxyz(15.2272, 8.9440, 17.1407)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E73 #2E8E49
analogous
#792E8E #8E2E73 #8E2E43
triadic
#8E2E73 #738E2E #2E738E
tetradic
#8E2E73 #8E792E #2E8E49 #2E438E
square
#8E2E73 #8E792E #2E8E49 #2E438E
split-complementary
#8E2E73 #438E2E #2E8E79
monochromatic
#321028 #601F4E #8E2E73 #BC3D98 #CE68B1

Accessibility & contrast

On white

7.53
#8E2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E73
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E73#FFFFFF#000000##FFFFFF
##8E2E731.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B75
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#96304C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2e73;
/* rgb */ color: rgb(142, 46, 115);
/* oklch */ color: oklch(46.7% 0.151 340.8);
Tailwind
colors: {
  custom: {
    50: '#b26e9b',
    500: '#8e2e73',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e73;
$custom-light: #b26e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e73",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 316.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.15131,
    "h": 340.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#8E2E73
secondary
#63B57A
accent
#DB754D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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