#8D405A#8D405A

#8D405A is a mid, moderate pink. Relative luminance 0.101; OKLCH L 47.9% C 0.108 H 0.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D405A
RGBrgb(141, 64, 90)
HSLhsl(340, 38%, 40%)
HSVhsv(340, 55%, 55%)
CMYKcmyk(0%, 54.6%, 36.2%, 44.7%)
CIE-LABlab(37.97, 35.56, 0.34)
CIE-LCHlch(37.97, 35.56, 0.56°)
OKLaboklab(47.92% 0.1082 0.0014)
OKLCHoklch(47.92% 0.108 0.7)
XYZxyz(14.6641, 10.0691, 10.8421)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D405A #408D73
analogous
#8D4081 #8D405A #8D4C40
triadic
#8D405A #5A8D40 #405A8D
tetradic
#8D405A #818D40 #408D73 #4C408D
square
#8D405A #818D40 #408D73 #4C408D
split-complementary
#8D405A #408D4C #40818D
monochromatic
#391A24 #632D3F #8D405A #B35776 #C68199

Accessibility & contrast

On white

6.97
#8D405A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D405A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D405A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D405A#FFFFFF#000000##FFFFFF
##8D405A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D505B
Deuteranopia (green-blind)
#615F58
Tritanopia (blue-blind)
#983A4A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d405a;
/* rgb */ color: rgb(141, 64, 90);
/* oklch */ color: oklch(47.9% 0.108 0.7);
Tailwind
colors: {
  custom: {
    50: '#b17888',
    500: '#8d405a',
    950: '#000000',
  },
}
SCSS
$custom: #8d405a;
$custom-light: #b17888;
$custom-dark: #000000;
JSON
{
  "hex": "#8d405a",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 339.74,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.10818,
    "h": 0.7
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#8D405A
secondary
#78B09D
accent
#CEA75A
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8D405A

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

Preview Lab → · Contrast checker → · Palette generator →

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