#8A397A#8A397A

#8A397A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.8% C 0.137 H 335.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8A397A
RGBrgb(138, 57, 122)
HSLhsl(312, 42%, 38%)
HSVhsv(312, 59%, 54%)
CMYKcmyk(0%, 58.7%, 11.6%, 45.9%)
CIE-LABlab(37.36, 42.90, -20.68)
CIE-LCHlch(37.36, 47.62, 334.27°)
OKLaboklab(47.78% 0.1249 -0.056)
OKLCHoklch(47.78% 0.137 335.8)
XYZxyz(15.4573, 9.7358, 19.4737)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A397A #398A49
analogous
#71398A #8A397A #8A3951
triadic
#8A397A #7A8A39 #397A8A
tetradic
#8A397A #8A7139 #398A49 #39518A
square
#8A397A #8A7139 #398A49 #39518A
split-complementary
#8A397A #518A39 #398A71
monochromatic
#33152D #5F2754 #8A397A #B54BA0 #C777B7

Accessibility & contrast

On white

7.13
#8A397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A397A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A397A#FFFFFF#000000##FFFFFF
##8A397A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507C
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#913D54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a397a;
/* rgb */ color: rgb(138, 57, 122);
/* oklch */ color: oklch(47.8% 0.137 335.8);
Tailwind
colors: {
  custom: {
    50: '#ae74a0',
    500: '#8a397a',
    950: '#000000',
  },
}
SCSS
$custom: #8a397a;
$custom-light: #ae74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a397a",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 311.852,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.13689,
    "h": 335.8
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#8A397A
secondary
#6FB07C
accent
#D16F56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A397A

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

Preview Lab → · Contrast checker → · Palette generator →

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