#8D3F71#8D3F71

#8D3F71 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 48.6% C 0.122 H 343.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D3F71
RGBrgb(141, 63, 113)
HSLhsl(322, 38%, 40%)
HSVhsv(322, 55%, 55%)
CMYKcmyk(0%, 55.3%, 19.9%, 44.7%)
CIE-LABlab(38.57, 39.37, -13.18)
CIE-LCHlch(38.57, 41.52, 341.49°)
OKLaboklab(48.64% 0.1173 -0.0351)
OKLCHoklch(48.64% 0.122 343.4)
XYZxyz(15.7430, 10.4113, 16.8000)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3F71 #3F8D5B
analogous
#823F8D #8D3F71 #8D3F4A
triadic
#8D3F71 #718D3F #3F718D
tetradic
#8D3F71 #8D823F #3F8D5B #3F4A8D
square
#8D3F71 #8D823F #3F8D5B #3F4A8D
split-complementary
#8D3F71 #4A8D3F #3F8D82
monochromatic
#38192D #632C4F #8D3F71 #B35692 #C680AD

Accessibility & contrast

On white

6.81
#8D3F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D3F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3F71
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3F71#FFFFFF#000000##FFFFFF
##8D3F711.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#5A606F
Tritanopia (blue-blind)
#953F53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3f71;
/* rgb */ color: rgb(141, 63, 113);
/* oklch */ color: oklch(48.6% 0.122 343.4);
Tailwind
colors: {
  custom: {
    50: '#b1779a',
    500: '#8d3f71',
    950: '#000000',
  },
}
SCSS
$custom: #8d3f71;
$custom-light: #b1779a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3f71",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 321.538,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.12242,
    "h": 343.4
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#8D3F71
secondary
#77B18C
accent
#CE835A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8D3F71

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

Preview Lab → · Contrast checker → · Palette generator →

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