#8A5072#8A5072

#8A5072 is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.0% C 0.090 H 344.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A5072
RGBrgb(138, 80, 114)
HSLhsl(325, 27%, 43%)
HSVhsv(325, 42%, 54%)
CMYKcmyk(0%, 42%, 17.4%, 45.9%)
CIE-LABlab(41.78, 29.25, -9.00)
CIE-LCHlch(41.78, 30.60, 342.90°)
OKLaboklab(50.97% 0.0866 -0.0237)
OKLCHoklch(50.97% 0.09 344.7)
XYZxyz(16.3873, 12.3565, 17.4382)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5072 #508A68
analogous
#85508A #8A5072 #8A5055
triadic
#8A5072 #728A50 #50728A
tetradic
#8A5072 #8A8550 #508A68 #50558A
square
#8A5072 #8A8550 #508A68 #50558A
split-complementary
#8A5072 #558A50 #508A85
monochromatic
#3D2332 #633A52 #8A5072 #AA6D91 #C194AE

Accessibility & contrast

On white

6.05
#8A5072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A5072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5072
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5072#FFFFFF#000000##FFFFFF
##8A50721.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545D73
Deuteranopia (green-blind)
#636670
Tritanopia (blue-blind)
#91505C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a5072;
/* rgb */ color: rgb(138, 80, 114);
/* oklch */ color: oklch(51.0% 0.090 344.7);
Tailwind
colors: {
  custom: {
    50: '#ad829a',
    500: '#8a5072',
    950: '#000000',
  },
}
SCSS
$custom: #8a5072;
$custom-light: #ad829a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5072",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 324.828,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.08974,
    "h": 344.7
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#8A5072
secondary
#88AE98
accent
#C38C65
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A5072

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

Preview Lab → · Contrast checker → · Palette generator →

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