#8E1966#8E1966

#8E1966 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.168 H 346.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8E1966
RGBrgb(142, 25, 102)
HSLhsl(321, 70%, 33%)
HSVhsv(321, 82%, 56%)
CMYKcmyk(0%, 82.4%, 28.2%, 44.3%)
CIE-LABlab(32.72, 53.46, -15.16)
CIE-LCHlch(32.72, 55.56, 344.17°)
OKLaboklab(44.22% 0.1627 -0.0402)
OKLCHoklch(44.22% 0.168 346.1)
XYZxyz(13.9019, 7.4069, 13.2654)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1966 #198E41
analogous
#7C198E #8E1966 #8E192B
triadic
#8E1966 #668E19 #19668E
tetradic
#8E1966 #8E7C19 #198E41 #192B8E
square
#8E1966 #8E7C19 #198E41 #192B8E
split-complementary
#8E1966 #2B8E19 #198E7C
monochromatic
#26071B #5A1041 #8E1966 #C2228B #DE43A9

Accessibility & contrast

On white

8.46
#8E1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1966
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1966#FFFFFF#000000##FFFFFF
##8E19661.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#4F5463
Tritanopia (blue-blind)
#98153E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1966;
/* rgb */ color: rgb(142, 25, 102);
/* oklch */ color: oklch(44.2% 0.168 346.1);
Tailwind
colors: {
  custom: {
    50: '#b36591',
    500: '#8e1966',
    950: '#000000',
  },
}
SCSS
$custom: #8e1966;
$custom-light: #b36591;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1966",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 320.513,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.16761,
    "h": 346.1
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#8E1966
secondary
#44BF6E
accent
#ED783B
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D

Preview Lab

Preview with #8E1966

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

Preview Lab → · Contrast checker → · Palette generator →

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