#8A3671#8A3671

#8A3671 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.135 H 340.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8A3671
RGBrgb(138, 54, 113)
HSLhsl(318, 44%, 38%)
HSVhsv(318, 61%, 54%)
CMYKcmyk(0%, 60.9%, 18.1%, 45.9%)
CIE-LABlab(36.43, 42.88, -16.49)
CIE-LCHlch(36.43, 45.94, 338.96°)
OKLaboklab(46.96% 0.1273 -0.0442)
OKLCHoklch(46.96% 0.135 340.8)
XYZxyz(14.7813, 9.2351, 16.6236)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3671 #368A4F
analogous
#79368A #8A3671 #8A3647
triadic
#8A3671 #718A36 #36718A
tetradic
#8A3671 #8A7936 #368A4F #36478A
square
#8A3671 #8A7936 #368A4F #36478A
split-complementary
#8A3671 #478A36 #368A79
monochromatic
#321429 #5E254D #8A3671 #B64795 #C872AF

Accessibility & contrast

On white

7.38
#8A3671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A3671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3671
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3671#FFFFFF#000000##FFFFFF
##8A36711.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#535B6F
Tritanopia (blue-blind)
#92374E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3671;
/* rgb */ color: rgb(138, 54, 113);
/* oklch */ color: oklch(47.0% 0.135 340.8);
Tailwind
colors: {
  custom: {
    50: '#af729a',
    500: '#8a3671',
    950: '#000000',
  },
}
SCSS
$custom: #8a3671;
$custom-light: #af729a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3671",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 317.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46961,
    "c": 0.13475,
    "h": 340.8
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#8A3671
secondary
#6BB180
accent
#D37A54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3671

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

Preview Lab → · Contrast checker → · Palette generator →

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