#8E1B74#8E1B74

#8E1B74 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.174 H 339.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8E1B74
RGBrgb(142, 27, 116)
HSLhsl(314, 68%, 33%)
HSVhsv(314, 81%, 56%)
CMYKcmyk(0%, 81%, 18.3%, 44.3%)
CIE-LABlab(33.56, 54.78, -22.78)
CIE-LCHlch(33.56, 59.33, 337.42°)
OKLaboklab(45.04% 0.1632 -0.0617)
OKLCHoklch(45.04% 0.175 339.3)
XYZxyz(14.7001, 7.7971, 17.2504)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B74 #1B8E35
analogous
#6E1B8E #8E1B74 #8E1B3B
triadic
#8E1B74 #748E1B #1B748E
tetradic
#8E1B74 #8E6E1B #1B8E35 #1B3B8E
square
#8E1B74 #8E6E1B #1B8E35 #1B3B8E
split-complementary
#8E1B74 #3B8E1B #1B8E6E
monochromatic
#270720 #5B114A #8E1B74 #C1259E #DC47BA

Accessibility & contrast

On white

8.21
#8E1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B74
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B74#FFFFFF#000000##FFFFFF
##8E1B741.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#972046
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1b74;
/* rgb */ color: rgb(142, 27, 116);
/* oklch */ color: oklch(45.0% 0.174 339.3);
Tailwind
colors: {
  custom: {
    50: '#b3669c',
    500: '#8e1b74',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b74;
$custom-light: #b3669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b74",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 313.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.1745,
    "h": 339.3
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#8E1B74
secondary
#47BE62
accent
#EB643D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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