#8E285E#8E285E

#8E285E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.147 H 352.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8E285E
RGBrgb(142, 40, 94)
HSLhsl(328, 56%, 36%)
HSVhsv(328, 72%, 56%)
CMYKcmyk(0%, 71.8%, 33.8%, 44.3%)
CIE-LABlab(34.15, 47.51, -7.84)
CIE-LCHlch(34.15, 48.15, 350.63°)
OKLaboklab(45.16% 0.1452 -0.0202)
OKLCHoklch(45.16% 0.147 352.1)
XYZxyz(13.9353, 8.0781, 11.4129)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E285E #288E58
analogous
#8B288E #8E285E #8E282B
triadic
#8E285E #5E8E28 #285E8E
tetradic
#8E285E #8E8B28 #288E58 #282B8E
square
#8E285E #8E8B28 #288E58 #282B8E
split-complementary
#8E285E #2B8E28 #288E8B
monochromatic
#2F0D1F #5E1B3E #8E285E #BE357E #D25F9C

Accessibility & contrast

On white

8.03
#8E285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E285E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E285E#FFFFFF#000000##FFFFFF
##8E285E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39455F
Deuteranopia (green-blind)
#56575C
Tritanopia (blue-blind)
#99213F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e285e;
/* rgb */ color: rgb(142, 40, 94);
/* oklch */ color: oklch(45.2% 0.147 352.1);
Tailwind
colors: {
  custom: {
    50: '#b36b8b',
    500: '#8e285e',
    950: '#000000',
  },
}
SCSS
$custom: #8e285e;
$custom-light: #b36b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e285e",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 328.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.14663,
    "h": 352.1
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#8E285E
secondary
#5BB786
accent
#DF8F48
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E285E

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

Preview Lab → · Contrast checker → · Palette generator →

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