#8A336A#8A336A

#8A336A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.135 H 344.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8A336A
RGBrgb(138, 51, 106)
HSLhsl(322, 46%, 37%)
HSVhsv(322, 63%, 54%)
CMYKcmyk(0%, 63%, 23.2%, 45.9%)
CIE-LABlab(35.62, 43.22, -13.32)
CIE-LCHlch(35.62, 45.23, 342.87°)
OKLaboklab(46.27% 0.1298 -0.0354)
OKLCHoklch(46.27% 0.135 344.8)
XYZxyz(14.2670, 8.8129, 14.5825)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A336A #338A53
analogous
#7F338A #8A336A #8A333F
triadic
#8A336A #6A8A33 #336A8A
tetradic
#8A336A #8A7F33 #338A53 #333F8A
square
#8A336A #8A7F33 #338A53 #333F8A
split-complementary
#8A336A #3F8A33 #338A7F
monochromatic
#311225 #5D2248 #8A336A #B7448C #C96EA8

Accessibility & contrast

On white

7.60
#8A336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A336A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A336A#FFFFFF#000000##FFFFFF
##8A336A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6C
Deuteranopia (green-blind)
#545968
Tritanopia (blue-blind)
#93324A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a336a;
/* rgb */ color: rgb(138, 51, 106);
/* oklch */ color: oklch(46.3% 0.135 344.8);
Tailwind
colors: {
  custom: {
    50: '#af7094',
    500: '#8a336a',
    950: '#000000',
  },
}
SCSS
$custom: #8a336a;
$custom-light: #af7094;
$custom-dark: #000000;
JSON
{
  "hex": "#8a336a",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 322.069,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.13457,
    "h": 344.8
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#8A336A
secondary
#67B183
accent
#D68352
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A336A

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

Preview Lab → · Contrast checker → · Palette generator →

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