#8A4B71#8A4B71

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

Color values

HEX#8A4B71
RGBrgb(138, 75, 113)
HSLhsl(324, 30%, 42%)
HSVhsv(324, 46%, 54%)
CMYKcmyk(0%, 45.7%, 18.1%, 45.9%)
CIE-LABlab(40.62, 31.90, -10.12)
CIE-LCHlch(40.62, 33.47, 342.40°)
OKLaboklab(50.08% 0.0946 -0.0268)
OKLCHoklch(50.08% 0.098 344.2)
XYZxyz(15.9782, 11.6288, 17.0226)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B71 #4B8A64
analogous
#844B8A #8A4B71 #8A4B52
triadic
#8A4B71 #718A4B #4B718A
tetradic
#8A4B71 #8A844B #4B8A64 #4B528A
square
#8A4B71 #8A844B #4B8A64 #4B528A
split-complementary
#8A4B71 #528A4B #4B8A84
monochromatic
#3B2030 #623551 #8A4B71 #AC6690 #C28EAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A4B71#FFFFFF#000000##FFFFFF
##8A4B711.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)
#4F5972
Deuteranopia (green-blind)
#60646F
Tritanopia (blue-blind)
#914B59
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4b71;
/* rgb */ color: rgb(138, 75, 113);
/* oklch */ color: oklch(50.1% 0.098 344.2);
Tailwind
colors: {
  custom: {
    50: '#ae7f99',
    500: '#8a4b71',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b71;
$custom-light: #ae7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b71",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 323.81,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.09827,
    "h": 344.2
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#8A4B71
secondary
#83AE94
accent
#C68A62
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4B71

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

Preview Lab → · Contrast checker → · Palette generator →

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