#8A4073#8A4073

#8A4073 is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.4% C 0.120 H 340.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A4073
RGBrgb(138, 64, 115)
HSLhsl(319, 37%, 40%)
HSVhsv(319, 54%, 54%)
CMYKcmyk(0%, 53.6%, 16.7%, 45.9%)
CIE-LABlab(38.39, 38.19, -14.74)
CIE-LCHlch(38.39, 40.94, 338.89°)
OKLaboklab(48.44% 0.1128 -0.0394)
OKLCHoklch(48.44% 0.12 340.7)
XYZxyz(15.4094, 10.3090, 17.3946)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4073 #408A57
analogous
#7C408A #8A4073 #8A404E
triadic
#8A4073 #738A40 #40738A
tetradic
#8A4073 #8A7C40 #408A57 #404E8A
square
#8A4073 #8A7C40 #408A57 #404E8A
split-complementary
#8A4073 #4E8A40 #408A7C
monochromatic
#36192D #602D50 #8A4073 #B15695 #C480AF

Accessibility & contrast

On white

6.86
#8A4073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A4073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4073
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4073#FFFFFF#000000##FFFFFF
##8A40731.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445375
Deuteranopia (green-blind)
#585F71
Tritanopia (blue-blind)
#914154
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a4073;
/* rgb */ color: rgb(138, 64, 115);
/* oklch */ color: oklch(48.4% 0.120 340.7);
Tailwind
colors: {
  custom: {
    50: '#ae789b',
    500: '#8a4073',
    950: '#000000',
  },
}
SCSS
$custom: #8a4073;
$custom-light: #ae789b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4073",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 318.649,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.11952,
    "h": 340.7
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#8A4073
secondary
#77AF88
accent
#CD7E5B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4073

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

Preview Lab → · Contrast checker → · Palette generator →

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