#8E2B71#8E2B71

#8E2B71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 341.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8E2B71
RGBrgb(142, 43, 113)
HSLhsl(318, 54%, 36%)
HSVhsv(318, 70%, 56%)
CMYKcmyk(0%, 69.7%, 20.4%, 44.3%)
CIE-LABlab(35.35, 48.89, -18.11)
CIE-LCHlch(35.35, 52.13, 339.67°)
OKLaboklab(46.29% 0.1462 -0.0486)
OKLCHoklch(46.29% 0.154 341.6)
XYZxyz(15.0003, 8.6722, 16.5035)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B71 #2B8E48
analogous
#7A2B8E #8E2B71 #8E2B40
triadic
#8E2B71 #718E2B #2B718E
tetradic
#8E2B71 #8E7A2B #2B8E48 #2B408E
square
#8E2B71 #8E7A2B #2B8E48 #2B408E
split-complementary
#8E2B71 #408E2B #2B8E7A
monochromatic
#300F26 #5F1D4C #8E2B71 #BD3996 #D063B0

Accessibility & contrast

On white

7.68
#8E2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B71
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B71#FFFFFF#000000##FFFFFF
##8E2B711.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#972C4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2b71;
/* rgb */ color: rgb(142, 43, 113);
/* oklch */ color: oklch(46.3% 0.154 341.6);
Tailwind
colors: {
  custom: {
    50: '#b26d9a',
    500: '#8e2b71',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b71;
$custom-light: #b26d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b71",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 317.576,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.15406,
    "h": 341.6
  },
  "luminance": 0.08671
}

Semantic roles & 50–950 ramp

primary
#8E2B71
secondary
#5FB678
accent
#DD764B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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