#8E2F73#8E2F73

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

Color values

HEX#8E2F73
RGBrgb(142, 47, 115)
HSLhsl(317, 50%, 37%)
HSVhsv(317, 67%, 56%)
CMYKcmyk(0%, 66.9%, 19%, 44.3%)
CIE-LABlab(36.03, 47.53, -18.31)
CIE-LCHlch(36.03, 50.94, 338.93°)
OKLaboklab(46.82% 0.1416 -0.0492)
OKLCHoklch(46.82% 0.15 340.8)
XYZxyz(15.2667, 9.0230, 17.1539)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F73 #2F8E4A
analogous
#7A2F8E #8E2F73 #8E2F43
triadic
#8E2F73 #738E2F #2F738E
tetradic
#8E2F73 #8E7A2F #2F8E4A #2F438E
square
#8E2F73 #8E7A2F #2F8E4A #2F438E
split-complementary
#8E2F73 #438E2F #2F8E7A
monochromatic
#321129 #60204E #8E2F73 #BC3E98 #CE6AB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2F73#FFFFFF#000000##FFFFFF
##8E2F731.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)
#354B75
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#96314C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2f73;
/* rgb */ color: rgb(142, 47, 115);
/* oklch */ color: oklch(46.8% 0.150 340.8);
Tailwind
colors: {
  custom: {
    50: '#b26f9b',
    500: '#8e2f73',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f73;
$custom-light: #b26f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f73",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 317.053,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.14989,
    "h": 340.8
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#8E2F73
secondary
#64B57B
accent
#DA764E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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