#8A4876#8A4876

#8A4876 is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.8% C 0.108 H 339.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A4876
RGBrgb(138, 72, 118)
HSLhsl(318, 31%, 41%)
HSVhsv(318, 48%, 54%)
CMYKcmyk(0%, 47.8%, 14.5%, 45.9%)
CIE-LABlab(40.16, 34.41, -13.91)
CIE-LCHlch(40.16, 37.11, 337.99°)
OKLaboklab(49.8% 0.101 -0.0372)
OKLCHoklch(49.8% 0.108 339.8)
XYZxyz(16.0688, 11.3471, 18.4799)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4876 #488A5C
analogous
#7D488A #8A4876 #8A4855
triadic
#8A4876 #768A48 #48768A
tetradic
#8A4876 #8A7D48 #488A5C #48558A
square
#8A4876 #8A7D48 #488A5C #48558A
split-complementary
#8A4876 #558A48 #488A7D
monochromatic
#3A1E31 #623354 #8A4876 #AD6296 #C28AB1

Accessibility & contrast

On white

6.42
#8A4876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4876
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4876#FFFFFF#000000##FFFFFF
##8A48761.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5878
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#914959
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4876;
/* rgb */ color: rgb(138, 72, 118);
/* oklch */ color: oklch(49.8% 0.108 339.8);
Tailwind
colors: {
  custom: {
    50: '#ae7d9d',
    500: '#8a4876',
    950: '#000000',
  },
}
SCSS
$custom: #8a4876;
$custom-light: #ae7d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4876",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 318.182,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.10759,
    "h": 339.8
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#8A4876
secondary
#80AE8E
accent
#C88060
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4876

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

Preview Lab → · Contrast checker → · Palette generator →

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