#8E2062#8E2062

#8E2062 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.158 H 348.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8E2062
RGBrgb(142, 32, 98)
HSLhsl(324, 63%, 34%)
HSVhsv(324, 77%, 56%)
CMYKcmyk(0%, 77.5%, 31%, 44.3%)
CIE-LABlab(33.28, 50.87, -11.72)
CIE-LCHlch(33.28, 52.20, 347.02°)
OKLaboklab(44.58% 0.1553 -0.0307)
OKLCHoklch(44.58% 0.158 348.8)
XYZxyz(13.8772, 7.6672, 12.3020)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2062 #208E4C
analogous
#83208E #8E2062 #8E202B
triadic
#8E2062 #628E20 #20628E
tetradic
#8E2062 #8E8320 #208E4C #202B8E
square
#8E2062 #8E8320 #208E4C #202B8E
split-complementary
#8E2062 #2B8E20 #208E83
monochromatic
#2A091D #5C1540 #8E2062 #C02B84 #D851A2

Accessibility & contrast

On white

8.29
#8E2062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E2062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2062
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2062#FFFFFF#000000##FFFFFF
##8E20621.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324264
Deuteranopia (green-blind)
#525560
Tritanopia (blue-blind)
#991A3E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2062;
/* rgb */ color: rgb(142, 32, 98);
/* oklch */ color: oklch(44.6% 0.158 348.8);
Tailwind
colors: {
  custom: {
    50: '#b3678e',
    500: '#8e2062',
    950: '#000000',
  },
}
SCSS
$custom: #8e2062;
$custom-light: #b3678e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2062",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 324,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.15832,
    "h": 348.8
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#8E2062
secondary
#4FBB7A
accent
#E68342
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E2062

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

Preview Lab → · Contrast checker → · Palette generator →

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