#8A4074#8A4074

#8A4074 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.5% C 0.120 H 340.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A4074
RGBrgb(138, 64, 116)
HSLhsl(318, 37%, 40%)
HSVhsv(318, 54%, 54%)
CMYKcmyk(0%, 53.6%, 15.9%, 45.9%)
CIE-LABlab(38.43, 38.36, -15.30)
CIE-LCHlch(38.43, 41.30, 338.25°)
OKLaboklab(48.48% 0.1131 -0.041)
OKLCHoklch(48.48% 0.12 340.1)
XYZxyz(15.4672, 10.3322, 17.6993)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4074 #408A56
analogous
#7B408A #8A4074 #8A404F
triadic
#8A4074 #748A40 #40748A
tetradic
#8A4074 #8A7B40 #408A56 #404F8A
square
#8A4074 #8A7B40 #408A56 #404F8A
split-complementary
#8A4074 #4F8A40 #408A7B
monochromatic
#36192E #602D51 #8A4074 #B15696 #C480B0

Accessibility & contrast

On white

6.85
#8A4074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A4074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4074
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4074#FFFFFF#000000##FFFFFF
##8A40741.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4074;
/* rgb */ color: rgb(138, 64, 116);
/* oklch */ color: oklch(48.5% 0.120 340.1);
Tailwind
colors: {
  custom: {
    50: '#ae789c',
    500: '#8a4074',
    950: '#000000',
  },
}
SCSS
$custom: #8a4074;
$custom-light: #ae789c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4074",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 317.838,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.12028,
    "h": 340.1
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4074

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

Preview Lab → · Contrast checker → · Palette generator →

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