#8A3773#8A3773

#8A3773 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.2% C 0.135 H 339.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A3773
RGBrgb(138, 55, 115)
HSLhsl(317, 43%, 38%)
HSVhsv(317, 60%, 54%)
CMYKcmyk(0%, 60.1%, 16.7%, 45.9%)
CIE-LABlab(36.70, 42.72, -17.34)
CIE-LCHlch(36.70, 46.10, 337.90°)
OKLaboklab(47.18% 0.1263 -0.0466)
OKLCHoklch(47.18% 0.135 339.7)
XYZxyz(14.9422, 9.3747, 17.2389)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3773 #378A4E
analogous
#78378A #8A3773 #8A3749
triadic
#8A3773 #738A37 #37738A
tetradic
#8A3773 #8A7837 #378A4E #37498A
square
#8A3773 #8A7837 #378A4E #37498A
split-complementary
#8A3773 #498A37 #378A78
monochromatic
#32142A #5E264F #8A3773 #B64897 #C874B0

Accessibility & contrast

On white

7.31
#8A3773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A3773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3773
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3773#FFFFFF#000000##FFFFFF
##8A37731.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E75
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#923950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3773;
/* rgb */ color: rgb(138, 55, 115);
/* oklch */ color: oklch(47.2% 0.135 339.7);
Tailwind
colors: {
  custom: {
    50: '#af739b',
    500: '#8a3773',
    950: '#000000',
  },
}
SCSS
$custom: #8a3773;
$custom-light: #af739b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3773",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 316.627,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47183,
    "c": 0.13463,
    "h": 339.7
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#8A3773
secondary
#6DB07F
accent
#D37855
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3773

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

Preview Lab → · Contrast checker → · Palette generator →

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