#8D2279#8D2279

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

Color values

HEX#8D2279
RGBrgb(141, 34, 121)
HSLhsl(311, 61%, 34%)
HSVhsv(311, 76%, 55%)
CMYKcmyk(0%, 75.9%, 14.2%, 44.7%)
CIE-LABlab(34.37, 53.13, -24.67)
CIE-LCHlch(34.37, 58.57, 335.09°)
OKLaboklab(45.68% 0.1563 -0.0672)
OKLCHoklch(45.68% 0.17 336.8)
XYZxyz(15.0080, 8.1886, 18.8756)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2279 #228D36
analogous
#6C228D #8D2279 #8D2244
triadic
#8D2279 #798D22 #22798D
tetradic
#8D2279 #8D6C22 #228D36 #22448D
square
#8D2279 #8D6C22 #228D36 #22448D
split-complementary
#8D2279 #448D22 #228D6C
monochromatic
#2A0A24 #5C164F #8D2279 #BE2EA3 #D654BD

Accessibility & contrast

On white

7.96
#8D2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2279
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2279#FFFFFF#000000##FFFFFF
##8D22791.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#95294B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2279;
/* rgb */ color: rgb(141, 34, 121);
/* oklch */ color: oklch(45.7% 0.170 336.8);
Tailwind
colors: {
  custom: {
    50: '#b269a0',
    500: '#8d2279',
    950: '#000000',
  },
}
SCSS
$custom: #8d2279;
$custom-light: #b269a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2279",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 311.215,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.17015,
    "h": 336.8
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#8D2279
secondary
#51B965
accent
#E46244
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2279

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

Preview Lab → · Contrast checker → · Palette generator →

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