#8A4F68#8A4F68

#8A4F68 is a mid, moderate pink. Relative luminance 0.120; OKLCH L 50.4% C 0.085 H 353.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A4F68
RGBrgb(138, 79, 104)
HSLhsl(335, 27%, 43%)
HSVhsv(335, 43%, 54%)
CMYKcmyk(0%, 42.8%, 24.6%, 45.9%)
CIE-LABlab(41.21, 28.19, -3.68)
CIE-LCHlch(41.21, 28.43, 352.56°)
OKLaboklab(50.42% 0.0847 -0.0094)
OKLCHoklch(50.42% 0.085 353.7)
XYZxyz(15.7763, 11.9958, 14.5785)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F68 #4F8A71
analogous
#8A4F86 #8A4F68 #8A534F
triadic
#8A4F68 #688A4F #4F688A
tetradic
#8A4F68 #868A4F #4F8A71 #534F8A
square
#8A4F68 #868A4F #4F8A71 #534F8A
split-complementary
#8A4F68 #4F8A53 #4F868A
monochromatic
#3C222D #63394B #8A4F68 #AB6C86 #C193A6

Accessibility & contrast

On white

6.18
#8A4F68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A4F68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F68
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F68#FFFFFF#000000##FFFFFF
##8A4F681.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565B69
Deuteranopia (green-blind)
#656567
Tritanopia (blue-blind)
#924D58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4f68;
/* rgb */ color: rgb(138, 79, 104);
/* oklch */ color: oklch(50.4% 0.085 353.7);
Tailwind
colors: {
  custom: {
    50: '#ae8193',
    500: '#8a4f68',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f68;
$custom-light: #ae8193;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f68",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 104
  },
  "hsl": {
    "h": 334.576,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.08526,
    "h": 353.7
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#8A4F68
secondary
#87AE9D
accent
#C49B64
background
#FAF8F9
surface
#F4EFF1
border
#CECACB
text
#100A0D
muted
#7F7C7E

Preview Lab

Preview with #8A4F68

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

Preview Lab → · Contrast checker → · Palette generator →

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