#8E1A6E#8E1A6E

#8E1A6E is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.172 H 342.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8E1A6E
RGBrgb(142, 26, 110)
HSLhsl(317, 69%, 33%)
HSVhsv(317, 82%, 56%)
CMYKcmyk(0%, 81.7%, 22.5%, 44.3%)
CIE-LABlab(33.17, 54.23, -19.57)
CIE-LCHlch(33.17, 57.65, 340.16°)
OKLaboklab(44.67% 0.1633 -0.0526)
OKLCHoklch(44.67% 0.172 342.1)
XYZxyz(14.3397, 7.6169, 15.4639)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A6E #1A8E3A
analogous
#741A8E #8E1A6E #8E1A34
triadic
#8E1A6E #6E8E1A #1A6E8E
tetradic
#8E1A6E #8E741A #1A8E3A #1A348E
square
#8E1A6E #8E741A #1A8E3A #1A348E
split-complementary
#8E1A6E #348E1A #1A8E74
monochromatic
#27071E #5A1146 #8E1A6E #C22396 #DD45B3

Accessibility & contrast

On white

8.32
#8E1A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E1A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A6E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A6E#FFFFFF#000000##FFFFFF
##8E1A6E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#4C556B
Tritanopia (blue-blind)
#971C43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1a6e;
/* rgb */ color: rgb(142, 26, 110);
/* oklch */ color: oklch(44.7% 0.172 342.1);
Tailwind
colors: {
  custom: {
    50: '#b36697',
    500: '#8e1a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a6e;
$custom-light: #b36697;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a6e",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 316.552,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.17154,
    "h": 342.1
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#8E1A6E
secondary
#45BE67
accent
#EC6C3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8E1A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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