#8A4476#8A4476

#8A4476 is a mid, moderate pink. Relative luminance 0.108; OKLCH L 49.2% C 0.115 H 339.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A4476
RGBrgb(138, 68, 118)
HSLhsl(317, 34%, 40%)
HSVhsv(317, 51%, 54%)
CMYKcmyk(0%, 50.7%, 14.5%, 45.9%)
CIE-LABlab(39.32, 36.58, -15.19)
CIE-LCHlch(39.32, 39.60, 337.45°)
OKLaboklab(49.17% 0.1074 -0.0407)
OKLCHoklch(49.17% 0.115 339.2)
XYZxyz(15.8185, 10.8466, 18.3965)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4476 #448A58
analogous
#7B448A #8A4476 #8A4453
triadic
#8A4476 #768A44 #44768A
tetradic
#8A4476 #8A7B44 #448A58 #44538A
square
#8A4476 #8A7B44 #448A58 #44538A
split-complementary
#8A4476 #538A44 #448A7B
monochromatic
#381C30 #613053 #8A4476 #AF5C97 #C385B1

Accessibility & contrast

On white

6.63
#8A4476 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A4476 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4476
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4476#FFFFFF#000000##FFFFFF
##8A44761.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475678
Deuteranopia (green-blind)
#5A6174
Tritanopia (blue-blind)
#914657
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4476;
/* rgb */ color: rgb(138, 68, 118);
/* oklch */ color: oklch(49.2% 0.115 339.2);
Tailwind
colors: {
  custom: {
    50: '#ae7a9d',
    500: '#8a4476',
    950: '#000000',
  },
}
SCSS
$custom: #8a4476;
$custom-light: #ae7a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4476",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 317.143,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.11481,
    "h": 339.2
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#8A4476
secondary
#7CAE8A
accent
#CA7D5E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4476

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

Preview Lab → · Contrast checker → · Palette generator →

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