#8A396E#8A396E

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

Color values

HEX#8A396E
RGBrgb(138, 57, 110)
HSLhsl(321, 42%, 38%)
HSVhsv(321, 59%, 54%)
CMYKcmyk(0%, 58.7%, 20.3%, 45.9%)
CIE-LABlab(36.85, 40.95, -13.97)
CIE-LCHlch(36.85, 43.27, 341.16°)
OKLaboklab(47.23% 0.1222 -0.0372)
OKLCHoklch(47.23% 0.128 343.1)
XYZxyz(14.7592, 9.4566, 15.7968)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A396E #398A55
analogous
#7D398A #8A396E #8A3945
triadic
#8A396E #6E8A39 #396E8A
tetradic
#8A396E #8A7D39 #398A55 #39458A
square
#8A396E #8A7D39 #398A55 #39458A
split-complementary
#8A396E #458A39 #398A7D
monochromatic
#331529 #5F274B #8A396E #B54B90 #C777AB

Accessibility & contrast

On white

7.26
#8A396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A396E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A396E#FFFFFF#000000##FFFFFF
##8A396E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#92394E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a396e;
/* rgb */ color: rgb(138, 57, 110);
/* oklch */ color: oklch(47.2% 0.128 343.1);
Tailwind
colors: {
  custom: {
    50: '#af7497',
    500: '#8a396e',
    950: '#000000',
  },
}
SCSS
$custom: #8a396e;
$custom-light: #af7497;
$custom-dark: #000000;
JSON
{
  "hex": "#8a396e",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 320.741,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47227,
    "c": 0.12771,
    "h": 343.1
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A396E

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

Preview Lab → · Contrast checker → · Palette generator →

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