#8D405E#8D405E

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

Color values

HEX#8D405E
RGBrgb(141, 64, 94)
HSLhsl(337, 38%, 40%)
HSVhsv(337, 55%, 55%)
CMYKcmyk(0%, 54.6%, 33.3%, 44.7%)
CIE-LABlab(38.09, 36.08, -1.99)
CIE-LCHlch(38.09, 36.14, 356.84°)
OKLaboklab(48.06% 0.1096 -0.0048)
OKLCHoklch(48.06% 0.11 357.5)
XYZxyz(14.8390, 10.1391, 11.7630)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D405E #408D6F
analogous
#8D4085 #8D405E #8D4840
triadic
#8D405E #5E8D40 #405E8D
tetradic
#8D405E #858D40 #408D6F #48408D
square
#8D405E #858D40 #408D6F #48408D
split-complementary
#8D405E #408D48 #40858D
monochromatic
#391A26 #632D42 #8D405E #B3577B #C6819C

Accessibility & contrast

On white

6.94
#8D405E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D405E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D405E#FFFFFF#000000##FFFFFF
##8D405E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d405e;
/* rgb */ color: rgb(141, 64, 94);
/* oklch */ color: oklch(48.1% 0.110 357.5);
Tailwind
colors: {
  custom: {
    50: '#b1788b',
    500: '#8d405e',
    950: '#000000',
  },
}
SCSS
$custom: #8d405e;
$custom-light: #b1788b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d405e",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 336.623,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.10974,
    "h": 357.5
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#8D405E
secondary
#78B09B
accent
#CEA15A
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090C
muted
#807B7D

Preview Lab

Preview with #8D405E

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

Preview Lab → · Contrast checker → · Palette generator →

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