#8D247A#8D247A

#8D247A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.169 H 336.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8D247A
RGBrgb(141, 36, 122)
HSLhsl(311, 59%, 35%)
HSVhsv(311, 74%, 55%)
CMYKcmyk(0%, 74.5%, 13.5%, 44.7%)
CIE-LABlab(34.66, 52.60, -24.84)
CIE-LCHlch(34.66, 58.17, 334.72°)
OKLaboklab(45.9% 0.1544 -0.0677)
OKLCHoklch(45.9% 0.169 336.3)
XYZxyz(15.1285, 8.3310, 19.2199)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D247A #248D37
analogous
#6C248D #8D247A #8D2446
triadic
#8D247A #7A8D24 #247A8D
tetradic
#8D247A #8D6C24 #248D37 #24468D
square
#8D247A #8D6C24 #248D37 #24468D
split-complementary
#8D247A #468D24 #248D6C
monochromatic
#2B0B26 #5C1850 #8D247A #BE30A4 #D457BE

Accessibility & contrast

On white

7.88
#8D247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D247A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D247A#FFFFFF#000000##FFFFFF
##8D247A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#942B4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d247a;
/* rgb */ color: rgb(141, 36, 122);
/* oklch */ color: oklch(45.9% 0.169 336.3);
Tailwind
colors: {
  custom: {
    50: '#b26aa0',
    500: '#8d247a',
    950: '#000000',
  },
}
SCSS
$custom: #8d247a;
$custom-light: #b26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d247a",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 310.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.16858,
    "h": 336.3
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#8D247A
secondary
#54B866
accent
#E36245
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D247A

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

Preview Lab → · Contrast checker → · Palette generator →

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