#8E284D#8E284D

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

Color values

HEX#8E284D
RGBrgb(142, 40, 77)
HSLhsl(338, 56%, 36%)
HSVhsv(338, 72%, 56%)
CMYKcmyk(0%, 71.8%, 45.8%, 44.3%)
CIE-LABlab(33.58, 45.60, 2.31)
CIE-LCHlch(33.58, 45.66, 2.90°)
OKLaboklab(44.56% 0.1396 0.0065)
OKLCHoklch(44.56% 0.14 2.7)
XYZxyz(13.2547, 7.8059, 7.8284)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E284D #288E69
analogous
#8E2880 #8E284D #8E3628
triadic
#8E284D #4D8E28 #284D8E
tetradic
#8E284D #808E28 #288E69 #36288E
square
#8E284D #808E28 #288E69 #36288E
split-complementary
#8E284D #288E36 #28808E
monochromatic
#2F0D19 #5E1B33 #8E284D #BE3567 #D25F88

Accessibility & contrast

On white

8.20
#8E284D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E284D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E284D#FFFFFF#000000##FFFFFF
##8E284D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#59564B
Tritanopia (blue-blind)
#9A1937
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e284d;
/* rgb */ color: rgb(142, 40, 77);
/* oklch */ color: oklch(44.6% 0.140 2.7);
Tailwind
colors: {
  custom: {
    50: '#b46a7e',
    500: '#8e284d',
    950: '#000000',
  },
}
SCSS
$custom: #8e284d;
$custom-light: #b46a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e284d",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 338.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.13971,
    "h": 2.7
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#8E284D
secondary
#5BB796
accent
#DFA948
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E284D

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

Preview Lab → · Contrast checker → · Palette generator →

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