#8A387A#8A387A

#8A387A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.6% C 0.139 H 335.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A387A
RGBrgb(138, 56, 122)
HSLhsl(312, 42%, 38%)
HSVhsv(312, 59%, 54%)
CMYKcmyk(0%, 59.4%, 11.6%, 45.9%)
CIE-LABlab(37.18, 43.39, -20.95)
CIE-LCHlch(37.18, 48.18, 334.22°)
OKLaboklab(47.64% 0.1263 -0.0568)
OKLCHoklch(47.64% 0.139 335.8)
XYZxyz(15.4084, 9.6379, 19.4573)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A387A #388A48
analogous
#71388A #8A387A #8A3851
triadic
#8A387A #7A8A38 #387A8A
tetradic
#8A387A #8A7138 #388A48 #38518A
square
#8A387A #8A7138 #388A48 #38518A
split-complementary
#8A387A #518A38 #388A71
monochromatic
#33152D #5E2654 #8A387A #B54AA0 #C775B7

Accessibility & contrast

On white

7.17
#8A387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A387A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A387A#FFFFFF#000000##FFFFFF
##8A387A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#913C54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a387a;
/* rgb */ color: rgb(138, 56, 122);
/* oklch */ color: oklch(47.6% 0.139 335.8);
Tailwind
colors: {
  custom: {
    50: '#af73a0',
    500: '#8a387a',
    950: '#000000',
  },
}
SCSS
$custom: #8a387a;
$custom-light: #af73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a387a",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 311.707,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.13851,
    "h": 335.8
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#8A387A
secondary
#6EB07B
accent
#D26E56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A387A

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

Preview Lab → · Contrast checker → · Palette generator →

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