#8A4577#8A4577

#8A4577 is a mid, moderate pink. Relative luminance 0.110; OKLCH L 49.4% C 0.114 H 338.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A4577
RGBrgb(138, 69, 119)
HSLhsl(317, 33%, 41%)
HSVhsv(317, 50%, 54%)
CMYKcmyk(0%, 50%, 13.8%, 45.9%)
CIE-LABlab(39.57, 36.21, -15.43)
CIE-LCHlch(39.57, 39.36, 336.93°)
OKLaboklab(49.37% 0.106 -0.0414)
OKLCHoklch(49.37% 0.114 338.7)
XYZxyz(15.9393, 10.9925, 18.7314)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4577 #458A58
analogous
#7A458A #8A4577 #8A4554
triadic
#8A4577 #778A45 #45778A
tetradic
#8A4577 #8A7A45 #458A58 #45548A
square
#8A4577 #8A7A45 #458A58 #45548A
split-complementary
#8A4577 #548A45 #458A7A
monochromatic
#381C31 #613154 #8A4577 #AE5E98 #C387B2

Accessibility & contrast

On white

6.57
#8A4577 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4577
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4577#FFFFFF#000000##FFFFFF
##8A45771.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475779
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#914758
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4577;
/* rgb */ color: rgb(138, 69, 119);
/* oklch */ color: oklch(49.4% 0.114 338.7);
Tailwind
colors: {
  custom: {
    50: '#ae7b9e',
    500: '#8a4577',
    950: '#000000',
  },
}
SCSS
$custom: #8a4577;
$custom-light: #ae7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4577",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 119
  },
  "hsl": {
    "h": 316.522,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.11384,
    "h": 338.7
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#8A4577
secondary
#7DAE8A
accent
#C97C5E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4577

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

Preview Lab → · Contrast checker → · Palette generator →

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