#8A476D#8A476D

#8A476D is a mid, moderate pink. Relative luminance 0.110; OKLCH L 49.3% C 0.103 H 346.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A476D
RGBrgb(138, 71, 109)
HSLhsl(326, 32%, 41%)
HSVhsv(326, 49%, 54%)
CMYKcmyk(0%, 48.6%, 21%, 45.9%)
CIE-LABlab(39.61, 33.46, -9.17)
CIE-LCHlch(39.61, 34.70, 344.67°)
OKLaboklab(49.27% 0.0999 -0.0241)
OKLCHoklch(49.27% 0.103 346.4)
XYZxyz(15.4951, 11.0150, 15.7750)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A476D #478A64
analogous
#85478A #8A476D #8A474B
triadic
#8A476D #6D8A47 #476D8A
tetradic
#8A476D #8A8547 #478A64 #474B8A
square
#8A476D #8A8547 #478A64 #474B8A
split-complementary
#8A476D #4B8A47 #478A85
monochromatic
#391D2D #62324D #8A476D #AE618C #C289AA

Accessibility & contrast

On white

6.56
#8A476D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A476D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A476D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A476D#FFFFFF#000000##FFFFFF
##8A476D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566E
Deuteranopia (green-blind)
#5E616B
Tritanopia (blue-blind)
#924655
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a476d;
/* rgb */ color: rgb(138, 71, 109);
/* oklch */ color: oklch(49.3% 0.103 346.4);
Tailwind
colors: {
  custom: {
    50: '#ae7c96',
    500: '#8a476d',
    950: '#000000',
  },
}
SCSS
$custom: #8a476d;
$custom-light: #ae7c96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a476d",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 325.97,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4927,
    "c": 0.10274,
    "h": 346.4
  },
  "luminance": 0.11014
}

Semantic roles & 50–950 ramp

primary
#8A476D
secondary
#7FAE93
accent
#C88D60
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0D
muted
#7F7C7E

Preview Lab

Preview with #8A476D

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

Preview Lab → · Contrast checker → · Palette generator →

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