#8E1642#8E1642

#8E1642 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.155 H 5.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8E1642
RGBrgb(142, 22, 66)
HSLhsl(338, 73%, 32%)
HSVhsv(338, 85%, 56%)
CMYKcmyk(0%, 84.5%, 53.5%, 44.3%)
CIE-LABlab(31.16, 50.50, 6.08)
CIE-LCHlch(31.16, 50.86, 6.86°)
OKLaboklab(42.67% 0.1544 0.0158)
OKLCHoklch(42.67% 0.155 5.8)
XYZxyz(12.4268, 6.7197, 5.7959)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1642 #168E62
analogous
#8E167E #8E1642 #8E2616
triadic
#8E1642 #428E16 #16428E
tetradic
#8E1642 #7E8E16 #168E62 #26168E
square
#8E1642 #7E8E16 #168E62 #26168E
split-complementary
#8E1642 #168E26 #167E8E
monochromatic
#240611 #590E29 #8E1642 #C31E5B #E13D79

Accessibility & contrast

On white

8.96
#8E1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1642
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1642#FFFFFF#000000##FFFFFF
##8E16421.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#56523F
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1642;
/* rgb */ color: rgb(142, 22, 66);
/* oklch */ color: oklch(42.7% 0.155 5.8);
Tailwind
colors: {
  custom: {
    50: '#b56376',
    500: '#8e1642',
    950: '#000000',
  },
}
SCSS
$custom: #8e1642;
$custom-light: #b56376;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1642",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 338,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.15519,
    "h": 5.8
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#8E1642
secondary
#3FC191
accent
#F0AC38
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1642

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

Preview Lab → · Contrast checker → · Palette generator →

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