#8E405D#8E405D

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

Color values

HEX#8E405D
RGBrgb(142, 64, 93)
HSLhsl(338, 38%, 40%)
HSVhsv(338, 55%, 56%)
CMYKcmyk(0%, 54.9%, 34.5%, 44.3%)
CIE-LABlab(38.22, 36.30, -1.16)
CIE-LCHlch(38.22, 36.32, 358.17°)
OKLaboklab(48.17% 0.1104 -0.0026)
OKLCHoklch(48.17% 0.11 358.7)
XYZxyz(14.9652, 10.2093, 11.5363)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E405D #408E71
analogous
#8E4084 #8E405D #8E4A40
triadic
#8E405D #5D8E40 #405D8E
tetradic
#8E405D #848E40 #408E71 #4A408E
square
#8E405D #848E40 #408E71 #4A408E
split-complementary
#8E405D #408E4A #40848E
monochromatic
#3A1A26 #642D41 #8E405D #B4587A #C7829B

Accessibility & contrast

On white

6.90
#8E405D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E405D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E405D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E405D#FFFFFF#000000##FFFFFF
##8E405D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515E
Deuteranopia (green-blind)
#615F5B
Tritanopia (blue-blind)
#983A4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e405d;
/* rgb */ color: rgb(142, 64, 93);
/* oklch */ color: oklch(48.2% 0.110 358.7);
Tailwind
colors: {
  custom: {
    50: '#b2788a',
    500: '#8e405d',
    950: '#000000',
  },
}
SCSS
$custom: #8e405d;
$custom-light: #b2788a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e405d",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 337.692,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.11043,
    "h": 358.7
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#8E405D
secondary
#79B19C
accent
#CEA35A
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8E405D

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

Preview Lab → · Contrast checker → · Palette generator →

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