#8A4B72#8A4B72

#8A4B72 is a mid, moderate pink. Relative luminance 0.117; OKLCH L 50.1% C 0.099 H 343.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4B72
RGBrgb(138, 75, 114)
HSLhsl(323, 30%, 42%)
HSVhsv(323, 46%, 54%)
CMYKcmyk(0%, 45.7%, 17.4%, 45.9%)
CIE-LABlab(40.66, 32.07, -10.68)
CIE-LCHlch(40.66, 33.80, 341.57°)
OKLaboklab(50.12% 0.0949 -0.0283)
OKLCHoklch(50.12% 0.099 343.4)
XYZxyz(16.0348, 11.6514, 17.3207)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B72 #4B8A63
analogous
#834B8A #8A4B72 #8A4B53
triadic
#8A4B72 #728A4B #4B728A
tetradic
#8A4B72 #8A834B #4B8A63 #4B538A
square
#8A4B72 #8A834B #4B8A63 #4B538A
split-complementary
#8A4B72 #538A4B #4B8A83
monochromatic
#3B2030 #623551 #8A4B72 #AC6691 #C28EAE

Accessibility & contrast

On white

6.31
#8A4B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A4B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B72
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B72#FFFFFF#000000##FFFFFF
##8A4B721.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5A73
Deuteranopia (green-blind)
#5F6470
Tritanopia (blue-blind)
#914B59
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4b72;
/* rgb */ color: rgb(138, 75, 114);
/* oklch */ color: oklch(50.1% 0.099 343.4);
Tailwind
colors: {
  custom: {
    50: '#ae7f9a',
    500: '#8a4b72',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b72;
$custom-light: #ae7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b72",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 114
  },
  "hsl": {
    "h": 322.857,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.099,
    "h": 343.4
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#8A4B72
secondary
#83AE93
accent
#C68862
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4B72

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

Preview Lab → · Contrast checker → · Palette generator →

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