#8E1E75#8E1E75

#8E1E75 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.172 H 338.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8E1E75
RGBrgb(142, 30, 117)
HSLhsl(313, 65%, 34%)
HSVhsv(313, 79%, 56%)
CMYKcmyk(0%, 78.9%, 17.6%, 44.3%)
CIE-LABlab(33.91, 54.05, -22.86)
CIE-LCHlch(33.91, 58.69, 337.08°)
OKLaboklab(45.31% 0.1607 -0.0619)
OKLCHoklch(45.31% 0.172 338.9)
XYZxyz(14.8309, 7.9651, 17.5825)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E75 #1E8E37
analogous
#6F1E8E #8E1E75 #8E1E3D
triadic
#8E1E75 #758E1E #1E758E
tetradic
#8E1E75 #8E6F1E #1E8E37 #1E3D8E
square
#8E1E75 #8E6F1E #1E8E37 #1E3D8E
split-complementary
#8E1E75 #3D8E1E #1E8E6F
monochromatic
#290922 #5B134B #8E1E75 #C1299F #D94DBA

Accessibility & contrast

On white

8.10
#8E1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E75
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E75#FFFFFF#000000##FFFFFF
##8E1E751.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254577
Deuteranopia (green-blind)
#4B5672
Tritanopia (blue-blind)
#962348
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1e75;
/* rgb */ color: rgb(142, 30, 117);
/* oklch */ color: oklch(45.3% 0.172 338.9);
Tailwind
colors: {
  custom: {
    50: '#b3679d',
    500: '#8e1e75',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e75;
$custom-light: #b3679d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e75",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 313.393,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.17224,
    "h": 338.9
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#8E1E75
secondary
#4CBC65
accent
#E86540
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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