#8E2B79#8E2B79

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

Color values

HEX#8E2B79
RGBrgb(142, 43, 121)
HSLhsl(313, 54%, 36%)
HSVhsv(313, 70%, 56%)
CMYKcmyk(0%, 69.7%, 14.8%, 44.3%)
CIE-LABlab(35.71, 50.09, -22.56)
CIE-LCHlch(35.71, 54.94, 335.75°)
OKLaboklab(46.68% 0.1475 -0.0612)
OKLCHoklch(46.68% 0.16 337.5)
XYZxyz(15.4707, 8.8604, 18.9809)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B79 #2B8E40
analogous
#722B8E #8E2B79 #8E2B48
triadic
#8E2B79 #798E2B #2B798E
tetradic
#8E2B79 #8E722B #2B8E40 #2B488E
square
#8E2B79 #8E722B #2B8E40 #2B488E
split-complementary
#8E2B79 #488E2B #2B8E72
monochromatic
#300F29 #5F1D51 #8E2B79 #BD39A1 #D063B9

Accessibility & contrast

On white

7.58
#8E2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B79
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B79#FFFFFF#000000##FFFFFF
##8E2B791.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#4E5A77
Tritanopia (blue-blind)
#96304E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2b79;
/* rgb */ color: rgb(142, 43, 121);
/* oklch */ color: oklch(46.7% 0.160 337.5);
Tailwind
colors: {
  custom: {
    50: '#b26da0',
    500: '#8e2b79',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b79;
$custom-light: #b26da0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b79",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 312.727,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.15974,
    "h": 337.5
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#8E2B79
secondary
#5FB671
accent
#DD6A4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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