#8E2B6E#8E2B6E

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

Color values

HEX#8E2B6E
RGBrgb(142, 43, 110)
HSLhsl(319, 54%, 36%)
HSVhsv(319, 70%, 56%)
CMYKcmyk(0%, 69.7%, 22.5%, 44.3%)
CIE-LABlab(35.21, 48.45, -16.42)
CIE-LCHlch(35.21, 51.16, 341.28°)
OKLaboklab(46.16% 0.1456 -0.0439)
OKLCHoklch(46.16% 0.152 343.2)
XYZxyz(14.8342, 8.6058, 15.6287)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B6E #2B8E4B
analogous
#7D2B8E #8E2B6E #8E2B3D
triadic
#8E2B6E #6E8E2B #2B6E8E
tetradic
#8E2B6E #8E7D2B #2B8E4B #2B3D8E
square
#8E2B6E #8E7D2B #2B8E4B #2B3D8E
split-complementary
#8E2B6E #3D8E2B #2B8E7D
monochromatic
#300F25 #5F1D4A #8E2B6E #BD3992 #D063AD

Accessibility & contrast

On white

7.72
#8E2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2B6E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B6E#FFFFFF#000000##FFFFFF
##8E2B6E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#52596C
Tritanopia (blue-blind)
#972B48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2b6e;
/* rgb */ color: rgb(142, 43, 110);
/* oklch */ color: oklch(46.2% 0.152 343.2);
Tailwind
colors: {
  custom: {
    50: '#b26d97',
    500: '#8e2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b6e;
$custom-light: #b26d97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b6e",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 319.394,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.15204,
    "h": 343.2
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#8E2B6E
secondary
#5FB67B
accent
#DD7A4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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