#8A5264#8A5264

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

Color values

HEX#8A5264
RGBrgb(138, 82, 100)
HSLhsl(341, 25%, 43%)
HSVhsv(341, 41%, 54%)
CMYKcmyk(0%, 40.6%, 27.5%, 45.9%)
CIE-LABlab(41.78, 25.86, -0.37)
CIE-LCHlch(41.78, 25.86, 359.18°)
OKLaboklab(50.82% 0.0781 -0.0006)
OKLCHoklch(50.82% 0.078 359.5)
XYZxyz(15.7992, 12.3591, 13.6075)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5264 #528A78
analogous
#8A5280 #8A5264 #8A5C52
triadic
#8A5264 #648A52 #52648A
tetradic
#8A5264 #808A52 #528A78 #5C528A
square
#8A5264 #808A52 #528A78 #5C528A
split-complementary
#8A5264 #528A5C #52808A
monochromatic
#3D242C #643B48 #8A5264 #AA6F82 #C196A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A5264#FFFFFF#000000##FFFFFF
##8A52641.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)
#5A5C65
Deuteranopia (green-blind)
#676663
Tritanopia (blue-blind)
#934F58
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a5264;
/* rgb */ color: rgb(138, 82, 100);
/* oklch */ color: oklch(50.8% 0.078 359.5);
Tailwind
colors: {
  custom: {
    50: '#ae8390',
    500: '#8a5264',
    950: '#000000',
  },
}
SCSS
$custom: #8a5264;
$custom-light: #ae8390;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5264",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 100
  },
  "hsl": {
    "h": 340.714,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.07808,
    "h": 359.5
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#8A5264
secondary
#8AAEA2
accent
#C2A466
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#100B0C
muted
#7F7C7D

Preview Lab

Preview with #8A5264

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

Preview Lab → · Contrast checker → · Palette generator →

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