#8A387C#8A387C

#8A387C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.140 H 334.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A387C
RGBrgb(138, 56, 124)
HSLhsl(310, 42%, 38%)
HSVhsv(310, 59%, 54%)
CMYKcmyk(0%, 59.4%, 10.1%, 45.9%)
CIE-LABlab(37.28, 43.73, -22.05)
CIE-LCHlch(37.28, 48.97, 333.24°)
OKLaboklab(47.74% 0.1267 -0.06)
OKLCHoklch(47.74% 0.14 334.7)
XYZxyz(15.5336, 9.6880, 20.1167)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A387C #388A46
analogous
#6F388A #8A387C #8A3853
triadic
#8A387C #7C8A38 #387C8A
tetradic
#8A387C #8A6F38 #388A46 #38538A
square
#8A387C #8A6F38 #388A46 #38538A
split-complementary
#8A387C #538A38 #388A6F
monochromatic
#33152E #5E2655 #8A387C #B54AA3 #C775B9

Accessibility & contrast

On white

7.15
#8A387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A387C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A387C#FFFFFF#000000##FFFFFF
##8A387C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#515C7A
Tritanopia (blue-blind)
#903D55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a387c;
/* rgb */ color: rgb(138, 56, 124);
/* oklch */ color: oklch(47.7% 0.140 334.7);
Tailwind
colors: {
  custom: {
    50: '#ae73a2',
    500: '#8a387c',
    950: '#000000',
  },
}
SCSS
$custom: #8a387c;
$custom-light: #ae73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a387c",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 310.244,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.14016,
    "h": 334.7
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#8A387C
secondary
#6EB079
accent
#D26B56
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A387C

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

Preview Lab → · Contrast checker → · Palette generator →

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