#8A3373#8A3373

#8A3373 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.141 H 339.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A3373
RGBrgb(138, 51, 115)
HSLhsl(316, 46%, 37%)
HSVhsv(316, 63%, 54%)
CMYKcmyk(0%, 63%, 16.7%, 45.9%)
CIE-LABlab(36.00, 44.60, -18.41)
CIE-LCHlch(36.00, 48.25, 337.57°)
OKLaboklab(46.67% 0.1319 -0.0496)
OKLCHoklch(46.67% 0.141 339.4)
XYZxyz(14.7599, 9.0100, 17.1781)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3373 #338A4A
analogous
#76338A #8A3373 #8A3348
triadic
#8A3373 #738A33 #33738A
tetradic
#8A3373 #8A7633 #338A4A #33488A
square
#8A3373 #8A7633 #338A4A #33488A
split-complementary
#8A3373 #488A33 #338A76
monochromatic
#311229 #5D224E #8A3373 #B74498 #C96EB1

Accessibility & contrast

On white

7.50
#8A3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3373
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3373#FFFFFF#000000##FFFFFF
##8A33731.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C75
Deuteranopia (green-blind)
#515A71
Tritanopia (blue-blind)
#92354E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3373;
/* rgb */ color: rgb(138, 51, 115);
/* oklch */ color: oklch(46.7% 0.141 339.4);
Tailwind
colors: {
  custom: {
    50: '#af709b',
    500: '#8a3373',
    950: '#000000',
  },
}
SCSS
$custom: #8a3373;
$custom-light: #af709b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3373",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 315.862,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.14093,
    "h": 339.4
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#8A3373
secondary
#67B17B
accent
#D67552
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3373

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

Preview Lab → · Contrast checker → · Palette generator →

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