#8E2068#8E2068

#8E2068 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.162 H 345.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8E2068
RGBrgb(142, 32, 104)
HSLhsl(321, 63%, 34%)
HSVhsv(321, 77%, 56%)
CMYKcmyk(0%, 77.5%, 26.8%, 44.3%)
CIE-LABlab(33.53, 51.64, -15.19)
CIE-LCHlch(33.53, 53.82, 343.61°)
OKLaboklab(44.84% 0.1567 -0.0403)
OKLCHoklch(44.84% 0.162 345.6)
XYZxyz(14.1712, 7.7848, 13.8503)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2068 #208E46
analogous
#7D208E #8E2068 #8E2031
triadic
#8E2068 #688E20 #20688E
tetradic
#8E2068 #8E7D20 #208E46 #20318E
square
#8E2068 #8E7D20 #208E46 #20318E
split-complementary
#8E2068 #318E20 #208E7D
monochromatic
#2A091F #5C1543 #8E2068 #C02B8D #D851A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2068#FFFFFF#000000##FFFFFF
##8E20681.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)
#2F436A
Deuteranopia (green-blind)
#505666
Tritanopia (blue-blind)
#981E41
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2068;
/* rgb */ color: rgb(142, 32, 104);
/* oklch */ color: oklch(44.8% 0.162 345.6);
Tailwind
colors: {
  custom: {
    50: '#b36793',
    500: '#8e2068',
    950: '#000000',
  },
}
SCSS
$custom: #8e2068;
$custom-light: #b36793;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2068",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 320.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.16177,
    "h": 345.6
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#8E2068
secondary
#4FBB74
accent
#E67A42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2068

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

Preview Lab → · Contrast checker → · Palette generator →

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