#8E1D73#8E1D73

#8E1D73 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 339.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1D73
RGBrgb(142, 29, 115)
HSLhsl(314, 66%, 34%)
HSVhsv(314, 80%, 56%)
CMYKcmyk(0%, 79.6%, 19%, 44.3%)
CIE-LABlab(33.71, 54.07, -21.91)
CIE-LCHlch(33.71, 58.34, 337.94°)
OKLaboklab(45.14% 0.1614 -0.0592)
OKLCHoklch(45.14% 0.172 339.8)
XYZxyz(14.6896, 7.8688, 16.9615)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D73 #1D8E38
analogous
#701D8E #8E1D73 #8E1D3A
triadic
#8E1D73 #738E1D #1D738E
tetradic
#8E1D73 #8E701D #1D8E38 #1D3A8E
square
#8E1D73 #8E701D #1D8E38 #1D3A8E
split-complementary
#8E1D73 #3A8E1D #1D8E70
monochromatic
#280821 #5B134A #8E1D73 #C1279C #DA4BB8

Accessibility & contrast

On white

8.16
#8E1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D73
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D73#FFFFFF#000000##FFFFFF
##8E1D731.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#4B5670
Tritanopia (blue-blind)
#972146
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1d73;
/* rgb */ color: rgb(142, 29, 115);
/* oklch */ color: oklch(45.1% 0.172 339.8);
Tailwind
colors: {
  custom: {
    50: '#b3679b',
    500: '#8e1d73',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d73;
$custom-light: #b3679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d73",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 314.336,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.1719,
    "h": 339.8
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#8E1D73
secondary
#4ABD66
accent
#E9673F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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