#821B56#821B56

#821B56 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 350.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#821B56
RGBrgb(130, 27, 86)
HSLhsl(326, 66%, 31%)
HSVhsv(326, 79%, 51%)
CMYKcmyk(0%, 79.2%, 33.8%, 49%)
CIE-LABlab(29.92, 47.77, -9.24)
CIE-LCHlch(29.92, 48.66, 349.05°)
OKLaboklab(41.55% 0.1463 -0.024)
OKLCHoklch(41.55% 0.148 350.7)
XYZxyz(11.2782, 6.2029, 9.4057)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B56 #1B8247
analogous
#7A1B82 #821B56 #821B22
triadic
#821B56 #56821B #1B5682
tetradic
#821B56 #827A1B #1B8247 #1B2282
square
#821B56 #827A1B #1B8247 #1B2282
split-complementary
#821B56 #22821B #1B827A
monochromatic
#1D0613 #4F1034 #821B56 #B52678 #D74097

Accessibility & contrast

On white

9.37
#821B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#821B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B56
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B56#FFFFFF#000000##FFFFFF
##821B561.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B58
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#8C1336
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821b56;
/* rgb */ color: rgb(130, 27, 86);
/* oklch */ color: oklch(41.5% 0.148 350.7);
Tailwind
colors: {
  custom: {
    50: '#aa6385',
    500: '#821b56',
    950: '#000000',
  },
}
SCSS
$custom: #821b56;
$custom-light: #aa6385;
$custom-dark: #000000;
JSON
{
  "hex": "#821b56",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 325.631,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.14826,
    "h": 350.7
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#821B56
secondary
#43B674
accent
#E9883F
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #821B56

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

Preview Lab → · Contrast checker → · Palette generator →

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