#821E56#821E56

#821E56 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.145 H 351.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#821E56
RGBrgb(130, 30, 86)
HSLhsl(326, 63%, 31%)
HSVhsv(326, 77%, 51%)
CMYKcmyk(0%, 76.9%, 33.8%, 49%)
CIE-LABlab(30.27, 46.77, -8.71)
CIE-LCHlch(30.27, 47.57, 349.46°)
OKLaboklab(41.81% 0.1431 -0.0226)
OKLCHoklch(41.81% 0.145 351)
XYZxyz(11.3506, 6.3476, 9.4298)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E56 #1E824A
analogous
#7C1E82 #821E56 #821E24
triadic
#821E56 #56821E #1E5682
tetradic
#821E56 #827C1E #1E824A #1E2482
square
#821E56 #827C1E #1E824A #1E2482
split-complementary
#821E56 #24821E #1E827C
monochromatic
#1F0714 #501335 #821E56 #B42977 #D44696

Accessibility & contrast

On white

9.25
#821E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#821E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E56
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E56#FFFFFF#000000##FFFFFF
##821E561.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8C1737
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821e56;
/* rgb */ color: rgb(130, 30, 86);
/* oklch */ color: oklch(41.8% 0.145 351.0);
Tailwind
colors: {
  custom: {
    50: '#aa6485',
    500: '#821e56',
    950: '#000000',
  },
}
SCSS
$custom: #821e56;
$custom-light: #aa6485;
$custom-dark: #000000;
JSON
{
  "hex": "#821e56",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 326.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.14491,
    "h": 351
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#821E56
secondary
#47B577
accent
#E68A42
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #821E56

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

Preview Lab → · Contrast checker → · Palette generator →

#821E56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva