#8A336E#8A336E

#8A336E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.137 H 342.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8A336E
RGBrgb(138, 51, 110)
HSLhsl(319, 46%, 37%)
HSVhsv(319, 63%, 54%)
CMYKcmyk(0%, 63%, 20.3%, 45.9%)
CIE-LABlab(35.79, 43.82, -15.60)
CIE-LCHlch(35.79, 46.51, 340.41°)
OKLaboklab(46.44% 0.1308 -0.0417)
OKLCHoklch(46.44% 0.137 342.3)
XYZxyz(14.4799, 8.8980, 15.7037)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A336E #338A4F
analogous
#7B338A #8A336E #8A3343
triadic
#8A336E #6E8A33 #336E8A
tetradic
#8A336E #8A7B33 #338A4F #33438A
square
#8A336E #8A7B33 #338A4F #33438A
split-complementary
#8A336E #438A33 #338A7B
monochromatic
#311227 #5D224A #8A336E #B74492 #C96EAC

Accessibility & contrast

On white

7.56
#8A336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A336E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A336E#FFFFFF#000000##FFFFFF
##8A336E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#53596C
Tritanopia (blue-blind)
#92344C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a336e;
/* rgb */ color: rgb(138, 51, 110);
/* oklch */ color: oklch(46.4% 0.137 342.3);
Tailwind
colors: {
  custom: {
    50: '#af7097',
    500: '#8a336e',
    950: '#000000',
  },
}
SCSS
$custom: #8a336e;
$custom-light: #af7097;
$custom-dark: #000000;
JSON
{
  "hex": "#8a336e",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 319.31,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.13731,
    "h": 342.3
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#8A336E
secondary
#67B17F
accent
#D67C52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A336E

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

Preview Lab → · Contrast checker → · Palette generator →

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