#8A405D#8A405D

#8A405D is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.6% C 0.106 H 357.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A405D
RGBrgb(138, 64, 93)
HSLhsl(336, 37%, 40%)
HSVhsv(336, 54%, 54%)
CMYKcmyk(0%, 53.6%, 32.6%, 45.9%)
CIE-LABlab(37.59, 34.87, -2.15)
CIE-LCHlch(37.59, 34.94, 356.47°)
OKLaboklab(47.58% 0.1059 -0.0052)
OKLCHoklch(47.58% 0.106 357.2)
XYZxyz(14.2910, 9.8617, 11.5047)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A405D #408A6D
analogous
#8A4082 #8A405D #8A4840
triadic
#8A405D #5D8A40 #405D8A
tetradic
#8A405D #828A40 #408A6D #48408A
square
#8A405D #828A40 #408A6D #48408A
split-complementary
#8A405D #408A48 #40828A
monochromatic
#361925 #602D41 #8A405D #B1567A #C4809B

Accessibility & contrast

On white

7.07
#8A405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A405D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A405D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A405D#FFFFFF#000000##FFFFFF
##8A405D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#5E5E5B
Tritanopia (blue-blind)
#943B4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a405d;
/* rgb */ color: rgb(138, 64, 93);
/* oklch */ color: oklch(47.6% 0.106 357.2);
Tailwind
colors: {
  custom: {
    50: '#af778a',
    500: '#8a405d',
    950: '#000000',
  },
}
SCSS
$custom: #8a405d;
$custom-light: #af778a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a405d",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 336.486,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.10601,
    "h": 357.2
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#8A405D
secondary
#77AF99
accent
#CDA05B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A405D

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

Preview Lab → · Contrast checker → · Palette generator →

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