#8A4F72#8A4F72

#8A4F72 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.8% C 0.092 H 344.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A4F72
RGBrgb(138, 79, 114)
HSLhsl(324, 27%, 43%)
HSVhsv(324, 43%, 54%)
CMYKcmyk(0%, 42.8%, 17.4%, 45.9%)
CIE-LABlab(41.55, 29.82, -9.34)
CIE-LCHlch(41.55, 31.24, 342.61°)
OKLaboklab(50.79% 0.0882 -0.0247)
OKLCHoklch(50.79% 0.092 344.4)
XYZxyz(16.3147, 12.2112, 17.4140)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F72 #4F8A67
analogous
#854F8A #8A4F72 #8A4F54
triadic
#8A4F72 #728A4F #4F728A
tetradic
#8A4F72 #8A854F #4F8A67 #4F548A
square
#8A4F72 #8A854F #4F8A67 #4F548A
split-complementary
#8A4F72 #548A4F #4F8A85
monochromatic
#3C2232 #633952 #8A4F72 #AB6C91 #C193AE

Accessibility & contrast

On white

6.10
#8A4F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A4F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F72
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F72#FFFFFF#000000##FFFFFF
##8A4F721.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C73
Deuteranopia (green-blind)
#626670
Tritanopia (blue-blind)
#914F5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4f72;
/* rgb */ color: rgb(138, 79, 114);
/* oklch */ color: oklch(50.8% 0.092 344.4);
Tailwind
colors: {
  custom: {
    50: '#ad829a',
    500: '#8a4f72',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f72;
$custom-light: #ad829a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f72",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 324.407,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.0916,
    "h": 344.4
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#8A4F72
secondary
#87AE97
accent
#C48B64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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