#8D2476#8D2476

#8D2476 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.166 H 338.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8D2476
RGBrgb(141, 36, 118)
HSLhsl(313, 59%, 35%)
HSVhsv(313, 74%, 55%)
CMYKcmyk(0%, 74.5%, 16.3%, 44.7%)
CIE-LABlab(34.47, 51.99, -22.64)
CIE-LCHlch(34.47, 56.70, 336.47°)
OKLaboklab(45.7% 0.1539 -0.0614)
OKLCHoklch(45.7% 0.166 338.3)
XYZxyz(14.8857, 8.2339, 17.9414)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2476 #248D3B
analogous
#70248D #8D2476 #8D2441
triadic
#8D2476 #768D24 #24768D
tetradic
#8D2476 #8D7024 #248D3B #24418D
square
#8D2476 #8D7024 #248D3B #24418D
split-complementary
#8D2476 #418D24 #248D70
monochromatic
#2B0B24 #5C184D #8D2476 #BE309F #D457B9

Accessibility & contrast

On white

7.94
#8D2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2476
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2476#FFFFFF#000000##FFFFFF
##8D24761.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294778
Deuteranopia (green-blind)
#4C5774
Tritanopia (blue-blind)
#95294A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2476;
/* rgb */ color: rgb(141, 36, 118);
/* oklch */ color: oklch(45.7% 0.166 338.3);
Tailwind
colors: {
  custom: {
    50: '#b2699d',
    500: '#8d2476',
    950: '#000000',
  },
}
SCSS
$custom: #8d2476;
$custom-light: #b2699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2476",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 313.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.16571,
    "h": 338.3
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#8D2476
secondary
#54B86A
accent
#E36845
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2476

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

Preview Lab → · Contrast checker → · Palette generator →

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