#8A475D#8A475D

#8A475D is a mid, moderate pink. Relative luminance 0.107; OKLCH L 48.7% C 0.094 H 0.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A475D
RGBrgb(138, 71, 93)
HSLhsl(340, 32%, 41%)
HSVhsv(340, 49%, 54%)
CMYKcmyk(0%, 48.6%, 32.6%, 45.9%)
CIE-LABlab(39.07, 31.07, 0.02)
CIE-LCHlch(39.07, 31.07, 0.04°)
OKLaboklab(48.69% 0.0942 0.0005)
OKLCHoklch(48.69% 0.094 0.3)
XYZxyz(14.7109, 10.7013, 11.6446)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A475D #478A74
analogous
#8A477E #8A475D #8A5347
triadic
#8A475D #5D8A47 #475D8A
tetradic
#8A475D #7E8A47 #478A74 #53478A
square
#8A475D #7E8A47 #478A74 #53478A
split-complementary
#8A475D #478A53 #477E8A
monochromatic
#391D27 #623242 #8A475D #AE617A #C2899C

Accessibility & contrast

On white

6.69
#8A475D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A475D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A475D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A475D#FFFFFF#000000##FFFFFF
##8A475D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545E
Deuteranopia (green-blind)
#62615B
Tritanopia (blue-blind)
#94424F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a475d;
/* rgb */ color: rgb(138, 71, 93);
/* oklch */ color: oklch(48.7% 0.094 0.3);
Tailwind
colors: {
  custom: {
    50: '#ae7c8a',
    500: '#8a475d',
    950: '#000000',
  },
}
SCSS
$custom: #8a475d;
$custom-light: #ae7c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a475d",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 93
  },
  "hsl": {
    "h": 340.299,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.09423,
    "h": 0.3
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#8A475D
secondary
#7FAE9E
accent
#C8A660
background
#FBF7F8
surface
#F6EEF0
border
#D0C9CB
text
#11090B
muted
#807B7C

Preview Lab

Preview with #8A475D

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

Preview Lab → · Contrast checker → · Palette generator →

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