#8E1E7B#8E1E7B

#8E1E7B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.176 H 336.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8E1E7B
RGBrgb(142, 30, 123)
HSLhsl(310, 65%, 34%)
HSVhsv(310, 79%, 56%)
CMYKcmyk(0%, 78.9%, 13.4%, 44.3%)
CIE-LABlab(34.21, 54.93, -26.16)
CIE-LCHlch(34.21, 60.84, 334.53°)
OKLaboklab(45.63% 0.1613 -0.0714)
OKLCHoklch(45.63% 0.176 336.1)
XYZxyz(15.1950, 8.1108, 19.5003)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E7B #1E8E31
analogous
#691E8E #8E1E7B #8E1E43
triadic
#8E1E7B #7B8E1E #1E7B8E
tetradic
#8E1E7B #8E691E #1E8E31 #1E438E
square
#8E1E7B #8E691E #1E8E31 #1E438E
split-complementary
#8E1E7B #438E1E #1E8E69
monochromatic
#290923 #5B134F #8E1E7B #C129A7 #D94DC2

Accessibility & contrast

On white

8.01
#8E1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E7B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E7B#FFFFFF#000000##FFFFFF
##8E1E7B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#485678
Tritanopia (blue-blind)
#96274B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1e7b;
/* rgb */ color: rgb(142, 30, 123);
/* oklch */ color: oklch(45.6% 0.176 336.1);
Tailwind
colors: {
  custom: {
    50: '#b367a1',
    500: '#8e1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e7b;
$custom-light: #b367a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e7b",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 310.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.1764,
    "h": 336.1
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#8E1E7B
secondary
#4CBC5F
accent
#E85C40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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