#8A4874#8A4874

#8A4874 is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.7% C 0.106 H 341.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A4874
RGBrgb(138, 72, 116)
HSLhsl(320, 31%, 41%)
HSVhsv(320, 48%, 54%)
CMYKcmyk(0%, 47.8%, 15.9%, 45.9%)
CIE-LABlab(40.08, 34.07, -12.79)
CIE-LCHlch(40.08, 36.39, 339.42°)
OKLaboklab(49.71% 0.1004 -0.0341)
OKLCHoklch(49.71% 0.106 341.2)
XYZxyz(15.9512, 11.3001, 17.8606)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4874 #488A5E
analogous
#7F488A #8A4874 #8A4853
triadic
#8A4874 #748A48 #48748A
tetradic
#8A4874 #8A7F48 #488A5E #48538A
square
#8A4874 #8A7F48 #488A5E #48538A
split-complementary
#8A4874 #538A48 #488A7F
monochromatic
#3A1E30 #623352 #8A4874 #AD6294 #C28AB0

Accessibility & contrast

On white

6.44
#8A4874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A4874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4874
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4874#FFFFFF#000000##FFFFFF
##8A48741.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#914959
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4874;
/* rgb */ color: rgb(138, 72, 116);
/* oklch */ color: oklch(49.7% 0.106 341.2);
Tailwind
colors: {
  custom: {
    50: '#ae7d9c',
    500: '#8a4874',
    950: '#000000',
  },
}
SCSS
$custom: #8a4874;
$custom-light: #ae7d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4874",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 320,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.10602,
    "h": 341.2
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#8A4874
secondary
#80AE8F
accent
#C88360
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4874

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

Preview Lab → · Contrast checker → · Palette generator →

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