#8E2142#8E2142

#8E2142 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.145 H 7.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8E2142
RGBrgb(142, 33, 66)
HSLhsl(342, 62%, 34%)
HSVhsv(342, 77%, 56%)
CMYKcmyk(0%, 76.8%, 53.5%, 44.3%)
CIE-LABlab(32.33, 47.18, 7.73)
CIE-LCHlch(32.33, 47.81, 9.30°)
OKLaboklab(43.54% 0.1437 0.0199)
OKLCHoklch(43.54% 0.145 7.9)
XYZxyz(12.6837, 7.2336, 5.8815)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2142 #218E6D
analogous
#8E2179 #8E2142 #8E3721
triadic
#8E2142 #428E21 #21428E
tetradic
#8E2142 #798E21 #218E6D #37218E
square
#8E2142 #798E21 #218E6D #37218E
split-complementary
#8E2142 #218E37 #21798E
monochromatic
#2B0A14 #5C152B #8E2142 #C02D59 #D7527B

Accessibility & contrast

On white

8.58
#8E2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2142
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2142#FFFFFF#000000##FFFFFF
##8E21421.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#9B032F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2142;
/* rgb */ color: rgb(142, 33, 66);
/* oklch */ color: oklch(43.5% 0.145 7.9);
Tailwind
colors: {
  custom: {
    50: '#b56776',
    500: '#8e2142',
    950: '#000000',
  },
}
SCSS
$custom: #8e2142;
$custom-light: #b56776;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2142",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 341.835,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43536,
    "c": 0.14504,
    "h": 7.9
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#8E2142
secondary
#50BA9A
accent
#E5B442
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2142

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

Preview Lab → · Contrast checker → · Palette generator →

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