#8E4073#8E4073

#8E4073 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.0% C 0.123 H 342.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8E4073
RGBrgb(142, 64, 115)
HSLhsl(321, 38%, 40%)
HSVhsv(321, 55%, 56%)
CMYKcmyk(0%, 54.9%, 19%, 44.3%)
CIE-LABlab(39.00, 39.50, -13.77)
CIE-LCHlch(39.00, 41.83, 340.79°)
OKLaboklab(49.01% 0.1174 -0.0367)
OKLCHoklch(49.01% 0.123 342.7)
XYZxyz(16.0836, 10.6567, 17.4262)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4073 #408E5B
analogous
#82408E #8E4073 #8E404C
triadic
#8E4073 #738E40 #40738E
tetradic
#8E4073 #8E8240 #408E5B #404C8E
square
#8E4073 #8E8240 #408E5B #404C8E
split-complementary
#8E4073 #4C8E40 #408E82
monochromatic
#3A1A2F #642D51 #8E4073 #B45894 #C782AF

Accessibility & contrast

On white

6.71
#8E4073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E4073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4073
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4073#FFFFFF#000000##FFFFFF
##8E40731.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#964054
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e4073;
/* rgb */ color: rgb(142, 64, 115);
/* oklch */ color: oklch(49.0% 0.123 342.7);
Tailwind
colors: {
  custom: {
    50: '#b1789b',
    500: '#8e4073',
    950: '#000000',
  },
}
SCSS
$custom: #8e4073;
$custom-light: #b1789b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4073",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 320.769,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.12303,
    "h": 342.7
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#8E4073
secondary
#79B18C
accent
#CE825A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8E4073

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

Preview Lab → · Contrast checker → · Palette generator →

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