#8E1C75#8E1C75

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

Color values

HEX#8E1C75
RGBrgb(142, 28, 117)
HSLhsl(313, 67%, 33%)
HSVhsv(313, 80%, 56%)
CMYKcmyk(0%, 80.3%, 17.6%, 44.3%)
CIE-LABlab(33.70, 54.64, -23.18)
CIE-LCHlch(33.70, 59.35, 337.01°)
OKLaboklab(45.17% 0.1625 -0.0628)
OKLCHoklch(45.17% 0.174 338.9)
XYZxyz(14.7819, 7.8671, 17.5662)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C75 #1C8E35
analogous
#6E1C8E #8E1C75 #8E1C3C
triadic
#8E1C75 #758E1C #1C758E
tetradic
#8E1C75 #8E6E1C #1C8E35 #1C3C8E
square
#8E1C75 #8E6E1C #1C8E35 #1C3C8E
split-complementary
#8E1C75 #3C8E1C #1C8E6E
monochromatic
#280821 #5B124B #8E1C75 #C1269F #DB49BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1C75#FFFFFF#000000##FFFFFF
##8E1C751.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)
#234477
Deuteranopia (green-blind)
#4A5672
Tritanopia (blue-blind)
#962247
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1c75;
/* rgb */ color: rgb(142, 28, 117);
/* oklch */ color: oklch(45.2% 0.174 338.9);
Tailwind
colors: {
  custom: {
    50: '#b3679d',
    500: '#8e1c75',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c75;
$custom-light: #b3679d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c75",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 313.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.17422,
    "h": 338.9
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#8E1C75
secondary
#49BD62
accent
#EA643E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1C75

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

Preview Lab → · Contrast checker → · Palette generator →

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