#8B3E71#8B3E71

#8B3E71 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.2% C 0.122 H 342.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8B3E71
RGBrgb(139, 62, 113)
HSLhsl(320, 38%, 39%)
HSVhsv(320, 55%, 55%)
CMYKcmyk(0%, 55.4%, 18.7%, 45.5%)
CIE-LABlab(38.07, 39.23, -13.97)
CIE-LCHlch(38.07, 41.64, 340.40°)
OKLaboklab(48.2% 0.1165 -0.0373)
OKLCHoklch(48.2% 0.122 342.3)
XYZxyz(15.3510, 10.1277, 16.7659)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3E71 #3E8B58
analogous
#7F3E8B #8B3E71 #8B3E4B
triadic
#8B3E71 #718B3E #3E718B
tetradic
#8B3E71 #8B7F3E #3E8B58 #3E4B8B
square
#8B3E71 #8B7F3E #3E8B58 #3E4B8B
split-complementary
#8B3E71 #4B8B3E #3E8B7F
monochromatic
#36182C #612B4F #8B3E71 #B35493 #C57EAD

Accessibility & contrast

On white

6.94
#8B3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8B3E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3E71
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3E71#FFFFFF#000000##FFFFFF
##8B3E711.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#933F52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b3e71;
/* rgb */ color: rgb(139, 62, 113);
/* oklch */ color: oklch(48.2% 0.122 342.3);
Tailwind
colors: {
  custom: {
    50: '#af779a',
    500: '#8b3e71',
    950: '#000000',
  },
}
SCSS
$custom: #8b3e71;
$custom-light: #af779a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3e71",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 320.26,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.12234,
    "h": 342.3
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#8B3E71
secondary
#75B089
accent
#CE815A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8B3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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