#8A6180#8A6180

#8A6180 is a mid, moderate pink. Relative luminance 0.155; OKLCH L 54.6% C 0.069 H 335.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A6180
RGBrgb(138, 97, 128)
HSLhsl(315, 17%, 46%)
HSVhsv(315, 30%, 54%)
CMYKcmyk(0%, 29.7%, 7.2%, 45.9%)
CIE-LABlab(46.33, 21.90, -10.66)
CIE-LCHlch(46.33, 24.36, 334.06°)
OKLaboklab(54.59% 0.0627 -0.0284)
OKLCHoklch(54.59% 0.069 335.6)
XYZxyz(18.6520, 15.5119, 22.4295)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6180 #618A6B
analogous
#7F618A #8A6180 #8A616B
triadic
#8A6180 #808A61 #61808A
tetradic
#8A6180 #8A7F61 #618A6B #616B8A
square
#8A6180 #8A7F61 #618A6B #616B8A
split-complementary
#8A6180 #6B8A61 #618A7F
monochromatic
#422E3D #66485F #8A6180 #A7819E #C0A5BA

Accessibility & contrast

On white

5.12
#8A6180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8A6180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6180
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6180#FFFFFF#000000##FFFFFF
##8A61801.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616A81
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#8E626C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a6180;
/* rgb */ color: rgb(138, 97, 128);
/* oklch */ color: oklch(54.6% 0.069 335.6);
Tailwind
colors: {
  custom: {
    50: '#ad8ea4',
    500: '#8a6180',
    950: '#000000',
  },
}
SCSS
$custom: #8a6180;
$custom-light: #ad8ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6180",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 128
  },
  "hsl": {
    "h": 314.634,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.06888,
    "h": 335.6
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#8A6180
secondary
#98AF9E
accent
#BA806E
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A6180

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

Preview Lab → · Contrast checker → · Palette generator →

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