#8E2A72#8E2A72

#8E2A72 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.156 H 341.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8E2A72
RGBrgb(142, 42, 114)
HSLhsl(317, 54%, 36%)
HSVhsv(317, 70%, 56%)
CMYKcmyk(0%, 70.4%, 19.7%, 44.3%)
CIE-LABlab(35.25, 49.43, -18.89)
CIE-LCHlch(35.25, 52.92, 339.09°)
OKLaboklab(46.24% 0.1476 -0.0508)
OKLCHoklch(46.24% 0.156 341)
XYZxyz(15.0210, 8.6231, 16.7897)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A72 #2A8E46
analogous
#782A8E #8E2A72 #8E2A40
triadic
#8E2A72 #728E2A #2A728E
tetradic
#8E2A72 #8E782A #2A8E46 #2A408E
square
#8E2A72 #8E782A #2A8E46 #2A408E
split-complementary
#8E2A72 #408E2A #2A8E78
monochromatic
#300E26 #5F1C4C #8E2A72 #BD3898 #D162B2

Accessibility & contrast

On white

7.71
#8E2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A72
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A72#FFFFFF#000000##FFFFFF
##8E2A721.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314974
Deuteranopia (green-blind)
#505970
Tritanopia (blue-blind)
#972C4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2a72;
/* rgb */ color: rgb(142, 42, 114);
/* oklch */ color: oklch(46.2% 0.156 341.0);
Tailwind
colors: {
  custom: {
    50: '#b26c9a',
    500: '#8e2a72',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a72;
$custom-light: #b26c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a72",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 316.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.15608,
    "h": 341
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#8E2A72
secondary
#5DB676
accent
#DE734A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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