#8A4078#8A4078

#8A4078 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 48.7% C 0.123 H 337.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A4078
RGBrgb(138, 64, 120)
HSLhsl(315, 37%, 40%)
HSVhsv(315, 54%, 54%)
CMYKcmyk(0%, 53.6%, 13%, 45.9%)
CIE-LABlab(38.60, 39.03, -17.53)
CIE-LCHlch(38.60, 42.79, 335.81°)
OKLaboklab(48.66% 0.1141 -0.0472)
OKLCHoklch(48.66% 0.123 337.5)
XYZxyz(15.7049, 10.4273, 18.9512)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4078 #408A52
analogous
#77408A #8A4078 #8A4053
triadic
#8A4078 #788A40 #40788A
tetradic
#8A4078 #8A7740 #408A52 #40538A
square
#8A4078 #8A7740 #408A52 #40538A
split-complementary
#8A4078 #538A40 #408A77
monochromatic
#36192F #602D54 #8A4078 #B1569B #C480B4

Accessibility & contrast

On white

6.81
#8A4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A4078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4078
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4078#FFFFFF#000000##FFFFFF
##8A40781.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#914356
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a4078;
/* rgb */ color: rgb(138, 64, 120);
/* oklch */ color: oklch(48.7% 0.123 337.5);
Tailwind
colors: {
  custom: {
    50: '#ae789f',
    500: '#8a4078',
    950: '#000000',
  },
}
SCSS
$custom: #8a4078;
$custom-light: #ae789f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4078",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 314.595,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.12347,
    "h": 337.5
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#8A4078
secondary
#77AF85
accent
#CD775B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4078

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

Preview Lab → · Contrast checker → · Palette generator →

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