#8E405B#8E405B

#8E405B is a mid, moderate pink. Relative luminance 0.102; OKLCH L 48.1% C 0.110 H 0.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8E405B
RGBrgb(142, 64, 91)
HSLhsl(339, 38%, 40%)
HSVhsv(339, 55%, 56%)
CMYKcmyk(0%, 54.9%, 35.9%, 44.3%)
CIE-LABlab(38.15, 36.04, 0.01)
CIE-LCHlch(38.15, 36.04, 0.01°)
OKLaboklab(48.11% 0.1097 0.0005)
OKLCHoklch(48.11% 0.11 0.3)
XYZxyz(14.8778, 10.1744, 11.0758)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E405B #408E73
analogous
#8E4082 #8E405B #8E4C40
triadic
#8E405B #5B8E40 #405B8E
tetradic
#8E405B #828E40 #408E73 #4C408E
square
#8E405B #828E40 #408E73 #4C408E
split-complementary
#8E405B #408E4C #40828E
monochromatic
#3A1A25 #642D40 #8E405B #B45877 #C7829A

Accessibility & contrast

On white

6.92
#8E405B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8E405B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E405B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E405B#FFFFFF#000000##FFFFFF
##8E405B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515C
Deuteranopia (green-blind)
#615F59
Tritanopia (blue-blind)
#993A4A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e405b;
/* rgb */ color: rgb(142, 64, 91);
/* oklch */ color: oklch(48.1% 0.110 0.3);
Tailwind
colors: {
  custom: {
    50: '#b27889',
    500: '#8e405b',
    950: '#000000',
  },
}
SCSS
$custom: #8e405b;
$custom-light: #b27889;
$custom-dark: #000000;
JSON
{
  "hex": "#8e405b",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 339.231,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.10966,
    "h": 0.3
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#8E405B
secondary
#79B19E
accent
#CEA65A
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8E405B

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

Preview Lab → · Contrast checker → · Palette generator →

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