#8A4860#8A4860

#8A4860 is a mid, moderate pink. Relative luminance 0.109; OKLCH L 49.0% C 0.094 H 358.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A4860
RGBrgb(138, 72, 96)
HSLhsl(338, 31%, 41%)
HSVhsv(338, 48%, 54%)
CMYKcmyk(0%, 47.8%, 30.4%, 45.9%)
CIE-LABlab(39.38, 30.94, -1.40)
CIE-LCHlch(39.38, 30.97, 357.41°)
OKLaboklab(48.96% 0.0937 -0.0033)
OKLCHoklch(48.96% 0.094 358)
XYZxyz(14.9105, 10.8838, 12.3795)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4860 #488A72
analogous
#8A4881 #8A4860 #8A5148
triadic
#8A4860 #608A48 #48608A
tetradic
#8A4860 #818A48 #488A72 #51488A
square
#8A4860 #818A48 #488A72 #51488A
split-complementary
#8A4860 #488A51 #48818A
monochromatic
#3A1E28 #623344 #8A4860 #AD627D #C28A9F

Accessibility & contrast

On white

6.61
#8A4860 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A4860 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4860
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4860#FFFFFF#000000##FFFFFF
##8A48601.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515561
Deuteranopia (green-blind)
#62615E
Tritanopia (blue-blind)
#934451
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4860;
/* rgb */ color: rgb(138, 72, 96);
/* oklch */ color: oklch(49.0% 0.094 358.0);
Tailwind
colors: {
  custom: {
    50: '#ae7d8d',
    500: '#8a4860',
    950: '#000000',
  },
}
SCSS
$custom: #8a4860;
$custom-light: #ae7d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4860",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 96
  },
  "hsl": {
    "h": 338.182,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.09374,
    "h": 358
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#8A4860
secondary
#80AE9D
accent
#C8A260
background
#FAF7F8
surface
#F5EEF0
border
#CFC9CB
text
#110A0C
muted
#807C7D

Preview Lab

Preview with #8A4860

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

Preview Lab → · Contrast checker → · Palette generator →

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