#8D3277#8D3277

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

Color values

HEX#8D3277
RGBrgb(141, 50, 119)
HSLhsl(315, 48%, 37%)
HSVhsv(315, 65%, 55%)
CMYKcmyk(0%, 64.5%, 15.6%, 44.7%)
CIE-LABlab(36.51, 46.56, -20.09)
CIE-LCHlch(36.51, 50.71, 336.66°)
OKLaboklab(47.2% 0.1374 -0.0543)
OKLCHoklch(47.2% 0.148 338.4)
XYZxyz(15.4552, 9.2772, 18.4259)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3277 #328D48
analogous
#75328D #8D3277 #8D324A
triadic
#8D3277 #778D32 #32778D
tetradic
#8D3277 #8D7532 #328D48 #324A8D
square
#8D3277 #8D7532 #328D48 #324A8D
split-complementary
#8D3277 #4A8D32 #328D75
monochromatic
#33122B #602251 #8D3277 #BA429D #CC6EB5

Accessibility & contrast

On white

7.36
#8D3277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D3277
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3277#FFFFFF#000000##FFFFFF
##8D32771.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#953550
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d3277;
/* rgb */ color: rgb(141, 50, 119);
/* oklch */ color: oklch(47.2% 0.148 338.4);
Tailwind
colors: {
  custom: {
    50: '#b1709e',
    500: '#8d3277',
    950: '#000000',
  },
}
SCSS
$custom: #8d3277;
$custom-light: #b1709e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3277",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 314.505,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.14769,
    "h": 338.4
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#8D3277
secondary
#68B37A
accent
#D77151
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D3277

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

Preview Lab → · Contrast checker → · Palette generator →

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