#8E1D75#8E1D75

#8E1D75 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.173 H 338.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8E1D75
RGBrgb(142, 29, 117)
HSLhsl(313, 66%, 34%)
HSVhsv(313, 80%, 56%)
CMYKcmyk(0%, 79.6%, 17.6%, 44.3%)
CIE-LABlab(33.81, 54.35, -23.02)
CIE-LCHlch(33.81, 59.03, 337.04°)
OKLaboklab(45.24% 0.1616 -0.0624)
OKLCHoklch(45.24% 0.173 338.9)
XYZxyz(14.8060, 7.9153, 17.5742)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D75 #1D8E36
analogous
#6E1D8E #8E1D75 #8E1D3C
triadic
#8E1D75 #758E1D #1D758E
tetradic
#8E1D75 #8E6E1D #1D8E36 #1D3C8E
square
#8E1D75 #8E6E1D #1D8E36 #1D3C8E
split-complementary
#8E1D75 #3C8E1D #1D8E6E
monochromatic
#280821 #5B134B #8E1D75 #C1279F #DA4BBB

Accessibility & contrast

On white

8.13
#8E1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E1D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D75
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D75#FFFFFF#000000##FFFFFF
##8E1D751.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244477
Deuteranopia (green-blind)
#4A5672
Tritanopia (blue-blind)
#962347
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1d75;
/* rgb */ color: rgb(142, 29, 117);
/* oklch */ color: oklch(45.2% 0.173 338.9);
Tailwind
colors: {
  custom: {
    50: '#b3679d',
    500: '#8e1d75',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d75;
$custom-light: #b3679d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d75",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 313.274,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.17324,
    "h": 338.9
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#8E1D75
secondary
#4ABD64
accent
#E9643F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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