#8D2479#8D2479

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

Color values

HEX#8D2479
RGBrgb(141, 36, 121)
HSLhsl(311, 59%, 35%)
HSVhsv(311, 74%, 55%)
CMYKcmyk(0%, 74.5%, 14.2%, 44.7%)
CIE-LABlab(34.61, 52.44, -24.29)
CIE-LCHlch(34.61, 57.80, 335.15°)
OKLaboklab(45.85% 0.1543 -0.0661)
OKLCHoklch(45.85% 0.168 336.8)
XYZxyz(15.0668, 8.3063, 18.8952)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2479 #248D38
analogous
#6D248D #8D2479 #8D2444
triadic
#8D2479 #798D24 #24798D
tetradic
#8D2479 #8D6D24 #248D38 #24448D
square
#8D2479 #8D6D24 #248D38 #24448D
split-complementary
#8D2479 #448D24 #248D6D
monochromatic
#2B0B25 #5C184F #8D2479 #BE30A3 #D457BC

Accessibility & contrast

On white

7.89
#8D2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2479
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2479#FFFFFF#000000##FFFFFF
##8D24791.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477B
Deuteranopia (green-blind)
#4B5777
Tritanopia (blue-blind)
#952B4C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2479;
/* rgb */ color: rgb(141, 36, 121);
/* oklch */ color: oklch(45.9% 0.168 336.8);
Tailwind
colors: {
  custom: {
    50: '#b26aa0',
    500: '#8d2479',
    950: '#000000',
  },
}
SCSS
$custom: #8d2479;
$custom-light: #b26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2479",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 311.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.16785,
    "h": 336.8
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#8D2479
secondary
#54B867
accent
#E36345
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2479

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

Preview Lab → · Contrast checker → · Palette generator →

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