#8E2144#8E2144

#8E2144 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.145 H 6.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8E2144
RGBrgb(142, 33, 68)
HSLhsl(341, 62%, 34%)
HSVhsv(341, 77%, 56%)
CMYKcmyk(0%, 76.8%, 52.1%, 44.3%)
CIE-LABlab(32.39, 47.35, 6.49)
CIE-LCHlch(32.39, 47.79, 7.81°)
OKLaboklab(43.59% 0.1445 0.0169)
OKLCHoklch(43.59% 0.145 6.7)
XYZxyz(12.7437, 7.2576, 6.1975)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2144 #218E6B
analogous
#8E217B #8E2144 #8E3521
triadic
#8E2144 #448E21 #21448E
tetradic
#8E2144 #7B8E21 #218E6B #35218E
square
#8E2144 #7B8E21 #218E6B #35218E
split-complementary
#8E2144 #218E35 #217B8E
monochromatic
#2B0A14 #5C152C #8E2144 #C02D5C #D7527D

Accessibility & contrast

On white

8.57
#8E2144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2144
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2144#FFFFFF#000000##FFFFFF
##8E21441.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E45
Deuteranopia (green-blind)
#595441
Tritanopia (blue-blind)
#9B0530
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2144;
/* rgb */ color: rgb(142, 33, 68);
/* oklch */ color: oklch(43.6% 0.145 6.7);
Tailwind
colors: {
  custom: {
    50: '#b56777',
    500: '#8e2144',
    950: '#000000',
  },
}
SCSS
$custom: #8e2144;
$custom-light: #b56777;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2144",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 340.734,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43593,
    "c": 0.14544,
    "h": 6.7
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#8E2144
secondary
#50BA98
accent
#E5B142
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2144

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

Preview Lab → · Contrast checker → · Palette generator →

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