#8E2073#8E2073

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

Color values

HEX#8E2073
RGBrgb(142, 32, 115)
HSLhsl(315, 63%, 34%)
HSVhsv(315, 77%, 56%)
CMYKcmyk(0%, 77.5%, 19%, 44.3%)
CIE-LABlab(34.03, 53.14, -21.41)
CIE-LCHlch(34.03, 57.29, 338.06°)
OKLaboklab(45.37% 0.1586 -0.0578)
OKLCHoklch(45.37% 0.169 340)
XYZxyz(14.7668, 8.0231, 16.9873)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2073 #208E3B
analogous
#72208E #8E2073 #8E203C
triadic
#8E2073 #738E20 #20738E
tetradic
#8E2073 #8E7220 #208E3B #203C8E
square
#8E2073 #8E7220 #208E3B #203C8E
split-complementary
#8E2073 #3C8E20 #208E72
monochromatic
#2A0922 #5C154B #8E2073 #C02B9B #D851B7

Accessibility & contrast

On white

8.06
#8E2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2073
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2073#FFFFFF#000000##FFFFFF
##8E20731.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#4C5670
Tritanopia (blue-blind)
#972447
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2073;
/* rgb */ color: rgb(142, 32, 115);
/* oklch */ color: oklch(45.4% 0.169 340.0);
Tailwind
colors: {
  custom: {
    50: '#b3689b',
    500: '#8e2073',
    950: '#000000',
  },
}
SCSS
$custom: #8e2073;
$custom-light: #b3689b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2073",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 314.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.16879,
    "h": 340
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#8E2073
secondary
#4FBB69
accent
#E66A42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2073

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

Preview Lab → · Contrast checker → · Palette generator →

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