#8A4870#8A4870

#8A4870 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.5% C 0.103 H 344.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A4870
RGBrgb(138, 72, 112)
HSLhsl(324, 31%, 41%)
HSVhsv(324, 48%, 54%)
CMYKcmyk(0%, 47.8%, 18.8%, 45.9%)
CIE-LABlab(39.93, 33.40, -10.54)
CIE-LCHlch(39.93, 35.02, 342.48°)
OKLaboklab(49.55% 0.0992 -0.0279)
OKLCHoklch(49.55% 0.103 344.3)
XYZxyz(15.7235, 11.2090, 16.6615)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4870 #488A62
analogous
#83488A #8A4870 #8A484F
triadic
#8A4870 #708A48 #48708A
tetradic
#8A4870 #8A8348 #488A62 #484F8A
square
#8A4870 #8A8348 #488A62 #484F8A
split-complementary
#8A4870 #4F8A48 #488A83
monochromatic
#3A1E2F #62334F #8A4870 #AD6290 #C28AAC

Accessibility & contrast

On white

6.48
#8A4870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A4870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4870
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4870#FFFFFF#000000##FFFFFF
##8A48701.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5771
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#914857
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4870;
/* rgb */ color: rgb(138, 72, 112);
/* oklch */ color: oklch(49.5% 0.103 344.3);
Tailwind
colors: {
  custom: {
    50: '#ae7d99',
    500: '#8a4870',
    950: '#000000',
  },
}
SCSS
$custom: #8a4870;
$custom-light: #ae7d99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4870",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 323.636,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.10303,
    "h": 344.3
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#8A4870
secondary
#80AE92
accent
#C88960
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0D
muted
#7F7C7E

Preview Lab

Preview with #8A4870

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

Preview Lab → · Contrast checker → · Palette generator →

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