#8E405E#8E405E

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

Color values

HEX#8E405E
RGBrgb(142, 64, 94)
HSLhsl(337, 38%, 40%)
HSVhsv(337, 55%, 56%)
CMYKcmyk(0%, 54.9%, 33.8%, 44.3%)
CIE-LABlab(38.25, 36.44, -1.75)
CIE-LCHlch(38.25, 36.48, 357.26°)
OKLaboklab(48.21% 0.1108 -0.0041)
OKLCHoklch(48.21% 0.111 357.9)
XYZxyz(15.0098, 10.2272, 11.7711)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E405E #408E70
analogous
#8E4085 #8E405E #8E4940
triadic
#8E405E #5E8E40 #405E8E
tetradic
#8E405E #858E40 #408E70 #49408E
square
#8E405E #858E40 #408E70 #49408E
split-complementary
#8E405E #408E49 #40858E
monochromatic
#3A1A26 #642D42 #8E405E #B4587B #C7829C

Accessibility & contrast

On white

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

On black

3.05
#8E405E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E405E#FFFFFF#000000##FFFFFF
##8E405E1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#983B4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e405e;
/* rgb */ color: rgb(142, 64, 94);
/* oklch */ color: oklch(48.2% 0.111 357.9);
Tailwind
colors: {
  custom: {
    50: '#b2788b',
    500: '#8e405e',
    950: '#000000',
  },
}
SCSS
$custom: #8e405e;
$custom-light: #b2788b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e405e",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 336.923,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.11084,
    "h": 357.9
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#8E405E
secondary
#79B19B
accent
#CEA15A
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8E405E

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

Preview Lab → · Contrast checker → · Palette generator →

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