#8A537C#8A537C

#8A537C is a mid, moderate pink. Relative luminance 0.130; OKLCH L 51.9% C 0.092 H 336.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A537C
RGBrgb(138, 83, 124)
HSLhsl(315, 25%, 43%)
HSVhsv(315, 40%, 54%)
CMYKcmyk(0%, 39.9%, 10.1%, 45.9%)
CIE-LABlab(42.83, 29.29, -13.52)
CIE-LCHlch(42.83, 32.26, 335.22°)
OKLaboklab(51.88% 0.0847 -0.0362)
OKLCHoklch(51.88% 0.092 336.9)
XYZxyz(17.2125, 13.0460, 20.6764)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A537C #538A61
analogous
#7C538A #8A537C #8A5360
triadic
#8A537C #7C8A53 #537C8A
tetradic
#8A537C #8A7C53 #538A61 #53608A
square
#8A537C #8A7C53 #538A61 #53608A
split-complementary
#8A537C #608A53 #538A7C
monochromatic
#3E2537 #643C5A #8A537C #A9719B #C097B6

Accessibility & contrast

On white

5.82
#8A537C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A537C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A537C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A537C#FFFFFF#000000##FFFFFF
##8A537C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#8F5562
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a537c;
/* rgb */ color: rgb(138, 83, 124);
/* oklch */ color: oklch(51.9% 0.092 336.9);
Tailwind
colors: {
  custom: {
    50: '#ad84a2',
    500: '#8a537c',
    950: '#000000',
  },
}
SCSS
$custom: #8a537c;
$custom-light: #ad84a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a537c",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 124
  },
  "hsl": {
    "h": 315.273,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.09216,
    "h": 336.9
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#8A537C
secondary
#8BAE94
accent
#C17E66
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0F
muted
#7F7C7E

Preview Lab

Preview with #8A537C

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

Preview Lab → · Contrast checker → · Palette generator →

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