#8D3471#8D3471

#8D3471 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.140 H 342.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8D3471
RGBrgb(141, 52, 113)
HSLhsl(319, 46%, 38%)
HSVhsv(319, 63%, 55%)
CMYKcmyk(0%, 63.1%, 19.9%, 44.7%)
CIE-LABlab(36.58, 44.73, -16.23)
CIE-LCHlch(36.58, 47.58, 340.06°)
OKLaboklab(47.17% 0.1334 -0.0434)
OKLCHoklch(47.17% 0.14 342)
XYZxyz(15.1935, 9.3123, 16.6169)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3471 #348D50
analogous
#7C348D #8D3471 #8D3445
triadic
#8D3471 #718D34 #34718D
tetradic
#8D3471 #8D7C34 #348D50 #34458D
square
#8D3471 #8D7C34 #348D50 #34458D
split-complementary
#8D3471 #458D34 #348D7C
monochromatic
#341329 #60244D #8D3471 #BA4495 #CB71AE

Accessibility & contrast

On white

7.34
#8D3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D3471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3471
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3471#FFFFFF#000000##FFFFFF
##8D34711.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#555B6F
Tritanopia (blue-blind)
#95354D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d3471;
/* rgb */ color: rgb(141, 52, 113);
/* oklch */ color: oklch(47.2% 0.140 342.0);
Tailwind
colors: {
  custom: {
    50: '#b1719a',
    500: '#8d3471',
    950: '#000000',
  },
}
SCSS
$custom: #8d3471;
$custom-light: #b1719a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3471",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 318.876,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.14029,
    "h": 342
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#8D3471
secondary
#6AB381
accent
#D67B52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3471

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

Preview Lab → · Contrast checker → · Palette generator →

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