#8A4875#8A4875

#8A4875 is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.8% C 0.107 H 340.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A4875
RGBrgb(138, 72, 117)
HSLhsl(319, 31%, 41%)
HSVhsv(319, 48%, 54%)
CMYKcmyk(0%, 47.8%, 15.2%, 45.9%)
CIE-LABlab(40.12, 34.24, -13.35)
CIE-LCHlch(40.12, 36.75, 338.70°)
OKLaboklab(49.76% 0.1007 -0.0356)
OKLCHoklch(49.76% 0.107 340.5)
XYZxyz(16.0096, 11.3235, 18.1686)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4875 #488A5D
analogous
#7E488A #8A4875 #8A4854
triadic
#8A4875 #758A48 #48758A
tetradic
#8A4875 #8A7E48 #488A5D #48548A
square
#8A4875 #8A7E48 #488A5D #48548A
split-complementary
#8A4875 #548A48 #488A7E
monochromatic
#3A1E31 #623353 #8A4875 #AD6295 #C28AB0

Accessibility & contrast

On white

6.43
#8A4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4875
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4875#FFFFFF#000000##FFFFFF
##8A48751.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5877
Deuteranopia (green-blind)
#5D6273
Tritanopia (blue-blind)
#914959
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4875;
/* rgb */ color: rgb(138, 72, 117);
/* oklch */ color: oklch(49.8% 0.107 340.5);
Tailwind
colors: {
  custom: {
    50: '#ae7d9c',
    500: '#8a4875',
    950: '#000000',
  },
}
SCSS
$custom: #8a4875;
$custom-light: #ae7d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4875",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 319.091,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.1068,
    "h": 340.5
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4875

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

Preview Lab → · Contrast checker → · Palette generator →

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