#8A3771#8A3771

#8A3771 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.1% C 0.133 H 340.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A3771
RGBrgb(138, 55, 113)
HSLhsl(318, 43%, 38%)
HSVhsv(318, 60%, 54%)
CMYKcmyk(0%, 60.1%, 18.1%, 45.9%)
CIE-LABlab(36.61, 42.40, -16.22)
CIE-LCHlch(36.61, 45.39, 339.07°)
OKLaboklab(47.09% 0.1258 -0.0435)
OKLCHoklch(47.09% 0.133 340.9)
XYZxyz(14.8284, 9.3292, 16.6393)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3771 #378A50
analogous
#79378A #8A3771 #8A3748
triadic
#8A3771 #718A37 #37718A
tetradic
#8A3771 #8A7937 #378A50 #37488A
square
#8A3771 #8A7937 #378A50 #37488A
split-complementary
#8A3771 #488A37 #378A79
monochromatic
#321429 #5E264D #8A3771 #B64895 #C874AE

Accessibility & contrast

On white

7.33
#8A3771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3771
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3771#FFFFFF#000000##FFFFFF
##8A37711.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#92384F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3771;
/* rgb */ color: rgb(138, 55, 113);
/* oklch */ color: oklch(47.1% 0.133 340.9);
Tailwind
colors: {
  custom: {
    50: '#af739a',
    500: '#8a3771',
    950: '#000000',
  },
}
SCSS
$custom: #8a3771;
$custom-light: #af739a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3771",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 318.072,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.13314,
    "h": 340.9
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#8A3771
secondary
#6DB081
accent
#D37B55
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3771

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

Preview Lab → · Contrast checker → · Palette generator →

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