#8E1F76#8E1F76

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

Color values

HEX#8E1F76
RGBrgb(142, 31, 118)
HSLhsl(313, 64%, 34%)
HSVhsv(313, 78%, 56%)
CMYKcmyk(0%, 78.2%, 16.9%, 44.3%)
CIE-LABlab(34.07, 53.89, -23.25)
CIE-LCHlch(34.07, 58.69, 336.67°)
OKLaboklab(45.44% 0.1599 -0.0631)
OKLCHoklch(45.44% 0.172 338.5)
XYZxyz(14.9157, 8.0402, 17.9024)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F76 #1F8E37
analogous
#6F1F8E #8E1F76 #8E1F3F
triadic
#8E1F76 #768E1F #1F768E
tetradic
#8E1F76 #8E6F1F #1F8E37 #1F3F8E
square
#8E1F76 #8E6F1F #1F8E37 #1F3F8E
split-complementary
#8E1F76 #3F8E1F #1F8E6F
monochromatic
#2A0923 #5C144C #8E1F76 #C02AA0 #D94FBB

Accessibility & contrast

On white

8.05
#8E1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F76
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F76#FFFFFF#000000##FFFFFF
##8E1F761.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#962549
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1f76;
/* rgb */ color: rgb(142, 31, 118);
/* oklch */ color: oklch(45.4% 0.172 338.5);
Tailwind
colors: {
  custom: {
    50: '#b3689d',
    500: '#8e1f76',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f76;
$custom-light: #b3689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f76",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 312.973,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.17189,
    "h": 338.5
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#8E1F76
secondary
#4DBB65
accent
#E76541
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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