#8E2A4E#8E2A4E

#8E2A4E is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.8% C 0.138 H 2.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8E2A4E
RGBrgb(142, 42, 78)
HSLhsl(338, 54%, 36%)
HSVhsv(338, 70%, 56%)
CMYKcmyk(0%, 70.4%, 45.1%, 44.3%)
CIE-LABlab(33.90, 44.90, 2.13)
CIE-LCHlch(33.90, 44.95, 2.71°)
OKLaboklab(44.8% 0.1374 0.006)
OKLCHoklch(44.8% 0.138 2.5)
XYZxyz(13.3594, 7.9584, 8.0389)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A4E #2A8E6A
analogous
#8E2A80 #8E2A4E #8E382A
triadic
#8E2A4E #4E8E2A #2A4E8E
tetradic
#8E2A4E #808E2A #2A8E6A #382A8E
square
#8E2A4E #808E2A #2A8E6A #382A8E
split-complementary
#8E2A4E #2A8E38 #2A808E
monochromatic
#300E1A #5F1C34 #8E2A4E #BD3868 #D1628A

Accessibility & contrast

On white

8.10
#8E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A4E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A4E#FFFFFF#000000##FFFFFF
##8E2A4E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#5A574C
Tritanopia (blue-blind)
#9A1C39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2a4e;
/* rgb */ color: rgb(142, 42, 78);
/* oklch */ color: oklch(44.8% 0.138 2.5);
Tailwind
colors: {
  custom: {
    50: '#b46b7f',
    500: '#8e2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a4e;
$custom-light: #b46b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a4e",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 338.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.1375,
    "h": 2.5
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#8E2A4E
secondary
#5DB696
accent
#DEA94A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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