#8A486C#8A486C

#8A486C is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.4% C 0.100 H 347.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A486C
RGBrgb(138, 72, 108)
HSLhsl(327, 31%, 41%)
HSVhsv(327, 48%, 54%)
CMYKcmyk(0%, 47.8%, 21.7%, 45.9%)
CIE-LABlab(39.78, 32.75, -8.28)
CIE-LCHlch(39.78, 33.78, 345.81°)
OKLaboklab(49.39% 0.0979 -0.0217)
OKLCHoklch(49.39% 0.1 347.5)
XYZxyz(15.5057, 11.1219, 15.5145)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A486C #488A66
analogous
#87488A #8A486C #8A484B
triadic
#8A486C #6C8A48 #486C8A
tetradic
#8A486C #8A8748 #488A66 #484B8A
square
#8A486C #8A8748 #488A66 #484B8A
split-complementary
#8A486C #4B8A48 #488A87
monochromatic
#3A1E2D #62334D #8A486C #AD628B #C28AA9

Accessibility & contrast

On white

6.51
#8A486C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A486C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A486C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A486C#FFFFFF#000000##FFFFFF
##8A486C1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576D
Deuteranopia (green-blind)
#5F626A
Tritanopia (blue-blind)
#924755
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a486c;
/* rgb */ color: rgb(138, 72, 108);
/* oklch */ color: oklch(49.4% 0.100 347.5);
Tailwind
colors: {
  custom: {
    50: '#ae7d96',
    500: '#8a486c',
    950: '#000000',
  },
}
SCSS
$custom: #8a486c;
$custom-light: #ae7d96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a486c",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 108
  },
  "hsl": {
    "h": 327.273,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.10028,
    "h": 347.5
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#8A486C
secondary
#80AE95
accent
#C88F60
background
#FAF7F9
surface
#F5EEF1
border
#CFC9CB
text
#100A0D
muted
#7F7C7E

Preview Lab

Preview with #8A486C

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

Preview Lab → · Contrast checker → · Palette generator →

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