#8A3366#8A3366

#8A3366 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.1% C 0.132 H 347.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A3366
RGBrgb(138, 51, 102)
HSLhsl(325, 46%, 37%)
HSVhsv(325, 63%, 54%)
CMYKcmyk(0%, 63%, 26.1%, 45.9%)
CIE-LABlab(35.46, 42.64, -11.03)
CIE-LCHlch(35.46, 44.04, 345.49°)
OKLaboklab(46.1% 0.1288 -0.029)
OKLCHoklch(46.1% 0.132 347.3)
XYZxyz(14.0639, 8.7316, 13.5125)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3366 #338A57
analogous
#83338A #8A3366 #8A333A
triadic
#8A3366 #668A33 #33668A
tetradic
#8A3366 #8A8333 #338A57 #333A8A
square
#8A3366 #8A8333 #338A57 #333A8A
split-complementary
#8A3366 #3A8A33 #338A83
monochromatic
#311224 #5D2245 #8A3366 #B74487 #C96EA4

Accessibility & contrast

On white

7.65
#8A3366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8A3366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3366
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3366#FFFFFF#000000##FFFFFF
##8A33661.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4A68
Deuteranopia (green-blind)
#555964
Tritanopia (blue-blind)
#933148
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3366;
/* rgb */ color: rgb(138, 51, 102);
/* oklch */ color: oklch(46.1% 0.132 347.3);
Tailwind
colors: {
  custom: {
    50: '#af7091',
    500: '#8a3366',
    950: '#000000',
  },
}
SCSS
$custom: #8a3366;
$custom-light: #af7091;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3366",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 324.828,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46097,
    "c": 0.13201,
    "h": 347.3
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#8A3366
secondary
#67B186
accent
#D68952
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3366

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

Preview Lab → · Contrast checker → · Palette generator →

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