#8E285A#8E285A

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

Color values

HEX#8E285A
RGBrgb(142, 40, 90)
HSLhsl(331, 56%, 36%)
HSVhsv(331, 72%, 56%)
CMYKcmyk(0%, 71.8%, 36.6%, 44.3%)
CIE-LABlab(34.00, 47.03, -5.48)
CIE-LCHlch(34.00, 47.34, 353.35°)
OKLaboklab(45.01% 0.144 -0.0139)
OKLCHoklch(45.01% 0.145 354.5)
XYZxyz(13.7604, 8.0082, 10.4920)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E285A #288E5C
analogous
#8E288D #8E285A #8E2928
triadic
#8E285A #5A8E28 #285A8E
tetradic
#8E285A #8D8E28 #288E5C #29288E
square
#8E285A #8D8E28 #288E5C #29288E
split-complementary
#8E285A #288E29 #288D8E
monochromatic
#2F0D1D #5E1B3C #8E285A #BE3578 #D25F97

Accessibility & contrast

On white

8.07
#8E285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E285A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E285A#FFFFFF#000000##FFFFFF
##8E285A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445B
Deuteranopia (green-blind)
#575758
Tritanopia (blue-blind)
#991F3D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e285a;
/* rgb */ color: rgb(142, 40, 90);
/* oklch */ color: oklch(45.0% 0.145 354.5);
Tailwind
colors: {
  custom: {
    50: '#b36a88',
    500: '#8e285a',
    950: '#000000',
  },
}
SCSS
$custom: #8e285a;
$custom-light: #b36a88;
$custom-dark: #000000;
JSON
{
  "hex": "#8e285a",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 330.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.14469,
    "h": 354.5
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#8E285A
secondary
#5BB78A
accent
#DF9548
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E285A

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

Preview Lab → · Contrast checker → · Palette generator →

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