#8A5366#8A5366

#8A5366 is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.1% C 0.077 H 358.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A5366
RGBrgb(138, 83, 102)
HSLhsl(339, 25%, 43%)
HSVhsv(339, 40%, 54%)
CMYKcmyk(0%, 39.9%, 26.1%, 45.9%)
CIE-LABlab(42.08, 25.59, -1.17)
CIE-LCHlch(42.08, 25.62, 357.39°)
OKLaboklab(51.06% 0.0771 -0.0027)
OKLCHoklch(51.06% 0.077 358)
XYZxyz(15.9732, 12.5502, 14.1489)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5366 #538A77
analogous
#8A5381 #8A5366 #8A5B53
triadic
#8A5366 #668A53 #53668A
tetradic
#8A5366 #818A53 #538A77 #5B538A
square
#8A5366 #818A53 #538A77 #5B538A
split-complementary
#8A5366 #538A5B #53818A
monochromatic
#3E252E #643C4A #8A5366 #A97184 #C097A5

Accessibility & contrast

On white

5.98
#8A5366 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A5366 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5366
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5366#FFFFFF#000000##FFFFFF
##8A53661.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5D67
Deuteranopia (green-blind)
#686765
Tritanopia (blue-blind)
#92505A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a5366;
/* rgb */ color: rgb(138, 83, 102);
/* oklch */ color: oklch(51.1% 0.077 358.0);
Tailwind
colors: {
  custom: {
    50: '#ad8491',
    500: '#8a5366',
    950: '#000000',
  },
}
SCSS
$custom: #8a5366;
$custom-light: #ad8491;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5366",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 102
  },
  "hsl": {
    "h": 339.273,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.07717,
    "h": 358
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#8A5366
secondary
#8BAEA2
accent
#C1A266
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#100B0C
muted
#7F7C7D

Preview Lab

Preview with #8A5366

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

Preview Lab → · Contrast checker → · Palette generator →

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