#8A386B#8A386B

#8A386B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.0% C 0.127 H 344.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A386B
RGBrgb(138, 56, 107)
HSLhsl(323, 42%, 38%)
HSVhsv(323, 59%, 54%)
CMYKcmyk(0%, 59.4%, 22.5%, 45.9%)
CIE-LABlab(36.55, 40.98, -12.55)
CIE-LCHlch(36.55, 42.86, 342.98°)
OKLaboklab(46.96% 0.1229 -0.0333)
OKLCHoklch(46.96% 0.127 344.8)
XYZxyz(14.5497, 9.2945, 14.9348)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A386B #388A57
analogous
#80388A #8A386B #8A3842
triadic
#8A386B #6B8A38 #386B8A
tetradic
#8A386B #8A8038 #388A57 #38428A
square
#8A386B #8A8038 #388A57 #38428A
split-complementary
#8A386B #428A38 #388A80
monochromatic
#331527 #5E2649 #8A386B #B54A8D #C775A8

Accessibility & contrast

On white

7.35
#8A386B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A386B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A386B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A386B#FFFFFF#000000##FFFFFF
##8A386B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#565B69
Tritanopia (blue-blind)
#93374C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a386b;
/* rgb */ color: rgb(138, 56, 107);
/* oklch */ color: oklch(47.0% 0.127 344.8);
Tailwind
colors: {
  custom: {
    50: '#af7395',
    500: '#8a386b',
    950: '#000000',
  },
}
SCSS
$custom: #8a386b;
$custom-light: #af7395;
$custom-dark: #000000;
JSON
{
  "hex": "#8a386b",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 322.683,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.12728,
    "h": 344.8
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#8A386B
secondary
#6EB087
accent
#D28556
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A386B

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

Preview Lab → · Contrast checker → · Palette generator →

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