#8E2064#8E2064

#8E2064 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.159 H 347.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E2064
RGBrgb(142, 32, 100)
HSLhsl(323, 63%, 34%)
HSVhsv(323, 77%, 56%)
CMYKcmyk(0%, 77.5%, 29.6%, 44.3%)
CIE-LABlab(33.36, 51.12, -12.88)
CIE-LCHlch(33.36, 52.72, 345.86°)
OKLaboklab(44.67% 0.1558 -0.0339)
OKLCHoklch(44.67% 0.159 347.7)
XYZxyz(13.9728, 7.7055, 12.8056)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2064 #208E4A
analogous
#81208E #8E2064 #8E202D
triadic
#8E2064 #648E20 #20648E
tetradic
#8E2064 #8E8120 #208E4A #202D8E
square
#8E2064 #8E8120 #208E4A #202D8E
split-complementary
#8E2064 #2D8E20 #208E81
monochromatic
#2A091E #5C1541 #8E2064 #C02B87 #D851A4

Accessibility & contrast

On white

8.27
#8E2064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E2064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2064
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2064#FFFFFF#000000##FFFFFF
##8E20641.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314266
Deuteranopia (green-blind)
#515562
Tritanopia (blue-blind)
#981B3F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2064;
/* rgb */ color: rgb(142, 32, 100);
/* oklch */ color: oklch(44.7% 0.159 347.7);
Tailwind
colors: {
  custom: {
    50: '#b36790',
    500: '#8e2064',
    950: '#000000',
  },
}
SCSS
$custom: #8e2064;
$custom-light: #b36790;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2064",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 322.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.15944,
    "h": 347.7
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#8E2064
secondary
#4FBB78
accent
#E68042
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E2064

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

Preview Lab → · Contrast checker → · Palette generator →

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