#8E2B6D#8E2B6D

#8E2B6D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.151 H 343.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8E2B6D
RGBrgb(142, 43, 109)
HSLhsl(320, 54%, 36%)
HSVhsv(320, 70%, 56%)
CMYKcmyk(0%, 69.7%, 23.2%, 44.3%)
CIE-LABlab(35.17, 48.31, -15.85)
CIE-LCHlch(35.17, 50.84, 341.83°)
OKLaboklab(46.11% 0.1454 -0.0423)
OKLCHoklch(46.11% 0.151 343.8)
XYZxyz(14.7800, 8.5841, 15.3436)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B6D #2B8E4C
analogous
#7E2B8E #8E2B6D #8E2B3C
triadic
#8E2B6D #6D8E2B #2B6D8E
tetradic
#8E2B6D #8E7E2B #2B8E4C #2B3C8E
square
#8E2B6D #8E7E2B #2B8E4C #2B3C8E
split-complementary
#8E2B6D #3C8E2B #2B8E7E
monochromatic
#300F25 #5F1D49 #8E2B6D #BD3991 #D063AC

Accessibility & contrast

On white

7.73
#8E2B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2B6D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B6D#FFFFFF#000000##FFFFFF
##8E2B6D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#52596B
Tritanopia (blue-blind)
#972B48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2b6d;
/* rgb */ color: rgb(142, 43, 109);
/* oklch */ color: oklch(46.1% 0.151 343.8);
Tailwind
colors: {
  custom: {
    50: '#b26c97',
    500: '#8e2b6d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b6d;
$custom-light: #b26c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b6d",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 320,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4611,
    "c": 0.15139,
    "h": 343.8
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#8E2B6D
secondary
#5FB67C
accent
#DD7C4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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