#8A4076#8A4076

#8A4076 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 48.6% C 0.122 H 338.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A4076
RGBrgb(138, 64, 118)
HSLhsl(316, 37%, 40%)
HSVhsv(316, 54%, 54%)
CMYKcmyk(0%, 53.6%, 14.5%, 45.9%)
CIE-LABlab(38.51, 38.69, -16.42)
CIE-LCHlch(38.51, 42.03, 337.01°)
OKLaboklab(48.57% 0.1136 -0.0441)
OKLCHoklch(48.57% 0.122 338.8)
XYZxyz(15.5848, 10.3792, 18.3186)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4076 #408A54
analogous
#79408A #8A4076 #8A4051
triadic
#8A4076 #768A40 #40768A
tetradic
#8A4076 #8A7940 #408A54 #40518A
square
#8A4076 #8A7940 #408A54 #40518A
split-complementary
#8A4076 #518A40 #408A79
monochromatic
#36192E #602D52 #8A4076 #B15698 #C480B2

Accessibility & contrast

On white

6.83
#8A4076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A4076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4076
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4076#FFFFFF#000000##FFFFFF
##8A40761.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435378
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#914255
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a4076;
/* rgb */ color: rgb(138, 64, 118);
/* oklch */ color: oklch(48.6% 0.122 338.8);
Tailwind
colors: {
  custom: {
    50: '#ae789d',
    500: '#8a4076',
    950: '#000000',
  },
}
SCSS
$custom: #8a4076;
$custom-light: #ae789d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4076",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 316.216,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.12186,
    "h": 338.8
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#8A4076
secondary
#77AF86
accent
#CD7A5B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4076

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

Preview Lab → · Contrast checker → · Palette generator →

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