#8A396F#8A396F

#8A396F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.3% C 0.128 H 342.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A396F
RGBrgb(138, 57, 111)
HSLhsl(320, 42%, 38%)
HSVhsv(320, 59%, 54%)
CMYKcmyk(0%, 58.7%, 19.6%, 45.9%)
CIE-LABlab(36.89, 41.11, -14.54)
CIE-LCHlch(36.89, 43.60, 340.52°)
OKLaboklab(47.27% 0.1224 -0.0388)
OKLCHoklch(47.27% 0.128 342.4)
XYZxyz(14.8139, 9.4785, 16.0852)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A396F #398A54
analogous
#7C398A #8A396F #8A3946
triadic
#8A396F #6F8A39 #396F8A
tetradic
#8A396F #8A7C39 #398A54 #39468A
square
#8A396F #8A7C39 #398A54 #39468A
split-complementary
#8A396F #468A39 #398A7C
monochromatic
#331529 #5F274C #8A396F #B54B92 #C777AC

Accessibility & contrast

On white

7.25
#8A396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A396F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A396F#FFFFFF#000000##FFFFFF
##8A396F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E71
Deuteranopia (green-blind)
#565C6D
Tritanopia (blue-blind)
#923A4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a396f;
/* rgb */ color: rgb(138, 57, 111);
/* oklch */ color: oklch(47.3% 0.128 342.4);
Tailwind
colors: {
  custom: {
    50: '#af7498',
    500: '#8a396f',
    950: '#000000',
  },
}
SCSS
$custom: #8a396f;
$custom-light: #af7498;
$custom-dark: #000000;
JSON
{
  "hex": "#8a396f",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 320,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.12842,
    "h": 342.4
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#8A396F
secondary
#6FB085
accent
#D17F56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A396F

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

Preview Lab → · Contrast checker → · Palette generator →

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