#8A386F#8A386F

#8A386F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.1% C 0.130 H 342.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A386F
RGBrgb(138, 56, 111)
HSLhsl(320, 42%, 38%)
HSVhsv(320, 59%, 54%)
CMYKcmyk(0%, 59.4%, 19.6%, 45.9%)
CIE-LABlab(36.71, 41.60, -14.82)
CIE-LCHlch(36.71, 44.16, 340.39°)
OKLaboklab(47.14% 0.1239 -0.0396)
OKLCHoklch(47.14% 0.13 342.3)
XYZxyz(14.7650, 9.3806, 16.0688)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A386F #388A53
analogous
#7C388A #8A386F #8A3846
triadic
#8A386F #6F8A38 #386F8A
tetradic
#8A386F #8A7C38 #388A53 #38468A
square
#8A386F #8A7C38 #388A53 #38468A
split-complementary
#8A386F #468A38 #388A7C
monochromatic
#331529 #5E264C #8A386F #B54A92 #C775AC

Accessibility & contrast

On white

7.30
#8A386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A386F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A386F#FFFFFF#000000##FFFFFF
##8A386F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E71
Deuteranopia (green-blind)
#555B6D
Tritanopia (blue-blind)
#92394E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a386f;
/* rgb */ color: rgb(138, 56, 111);
/* oklch */ color: oklch(47.1% 0.130 342.3);
Tailwind
colors: {
  custom: {
    50: '#af7398',
    500: '#8a386f',
    950: '#000000',
  },
}
SCSS
$custom: #8a386f;
$custom-light: #af7398;
$custom-dark: #000000;
JSON
{
  "hex": "#8a386f",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 319.756,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.13007,
    "h": 342.3
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#8A386F
secondary
#6EB084
accent
#D27F56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A386F

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

Preview Lab → · Contrast checker → · Palette generator →

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