#8E285B#8E285B

#8E285B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.145 H 353.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8E285B
RGBrgb(142, 40, 91)
HSLhsl(330, 56%, 36%)
HSVhsv(330, 72%, 56%)
CMYKcmyk(0%, 71.8%, 35.9%, 44.3%)
CIE-LABlab(34.04, 47.15, -6.08)
CIE-LCHlch(34.04, 47.54, 352.66°)
OKLaboklab(45.05% 0.1443 -0.0155)
OKLCHoklch(45.05% 0.145 353.9)
XYZxyz(13.8033, 8.0253, 10.7176)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E285B #288E5B
analogous
#8E288E #8E285B #8E2828
triadic
#8E285B #5B8E28 #285B8E
tetradic
#8E285B #8E8E28 #288E5B #28288E
square
#8E285B #8E8E28 #288E5B #28288E
split-complementary
#8E285B #288E28 #288E8E
monochromatic
#2F0D1E #5E1B3C #8E285B #BE357A #D25F98

Accessibility & contrast

On white

8.06
#8E285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E285B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E285B#FFFFFF#000000##FFFFFF
##8E285B1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#565759
Tritanopia (blue-blind)
#991F3E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e285b;
/* rgb */ color: rgb(142, 40, 91);
/* oklch */ color: oklch(45.0% 0.145 353.9);
Tailwind
colors: {
  custom: {
    50: '#b36b89',
    500: '#8e285b',
    950: '#000000',
  },
}
SCSS
$custom: #8e285b;
$custom-light: #b36b89;
$custom-dark: #000000;
JSON
{
  "hex": "#8e285b",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 330,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.14516,
    "h": 353.9
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#8E285B
secondary
#5BB789
accent
#DF9448
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E285B

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

Preview Lab → · Contrast checker → · Palette generator →

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