#8E284E#8E284E

#8E284E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.140 H 2.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E284E
RGBrgb(142, 40, 78)
HSLhsl(338, 56%, 36%)
HSVhsv(338, 72%, 56%)
CMYKcmyk(0%, 71.8%, 45.1%, 44.3%)
CIE-LABlab(33.61, 45.70, 1.70)
CIE-LCHlch(33.61, 45.73, 2.14°)
OKLaboklab(44.59% 0.1399 0.0049)
OKLCHoklch(44.59% 0.14 2)
XYZxyz(13.2903, 7.8201, 8.0158)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E284E #288E68
analogous
#8E2881 #8E284E #8E3528
triadic
#8E284E #4E8E28 #284E8E
tetradic
#8E284E #818E28 #288E68 #35288E
square
#8E284E #818E28 #288E68 #35288E
split-complementary
#8E284E #288E35 #28818E
monochromatic
#2F0D1A #5E1B34 #8E284E #BE3568 #D25F8A

Accessibility & contrast

On white

8.19
#8E284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E284E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E284E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E284E#FFFFFF#000000##FFFFFF
##8E284E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424F
Deuteranopia (green-blind)
#59564C
Tritanopia (blue-blind)
#9A1938
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e284e;
/* rgb */ color: rgb(142, 40, 78);
/* oklch */ color: oklch(44.6% 0.140 2.0);
Tailwind
colors: {
  custom: {
    50: '#b46a7f',
    500: '#8e284e',
    950: '#000000',
  },
}
SCSS
$custom: #8e284e;
$custom-light: #b46a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e284e",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 337.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.14002,
    "h": 2
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#8E284E
secondary
#5BB795
accent
#DFA748
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E284E

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

Preview Lab → · Contrast checker → · Palette generator →

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