#821B4D#821B4D

#821B4D is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.144 H 356.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#821B4D
RGBrgb(130, 27, 77)
HSLhsl(331, 66%, 31%)
HSVhsv(331, 79%, 51%)
CMYKcmyk(0%, 79.2%, 40.8%, 49%)
CIE-LABlab(29.58, 46.74, -3.81)
CIE-LCHlch(29.58, 46.89, 355.34°)
OKLaboklab(41.19% 0.1437 -0.0094)
OKLCHoklch(41.19% 0.144 356.2)
XYZxyz(10.9382, 6.0669, 7.6148)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B4D #1B8250
analogous
#821B80 #821B4D #821D1B
triadic
#821B4D #4D821B #1B4D82
tetradic
#821B4D #80821B #1B8250 #1D1B82
square
#821B4D #80821B #1B8250 #1D1B82
split-complementary
#821B4D #1B821D #1B8082
monochromatic
#1D0611 #4F102F #821B4D #B5266B #D74089

Accessibility & contrast

On white

9.49
#821B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#821B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B4D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B4D#FFFFFF#000000##FFFFFF
##821B4D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#4D4D4B
Tritanopia (blue-blind)
#8D0C31
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821b4d;
/* rgb */ color: rgb(130, 27, 77);
/* oklch */ color: oklch(41.2% 0.144 356.2);
Tailwind
colors: {
  custom: {
    50: '#ab637e',
    500: '#821b4d',
    950: '#000000',
  },
}
SCSS
$custom: #821b4d;
$custom-light: #ab637e;
$custom-dark: #000000;
JSON
{
  "hex": "#821b4d",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 330.874,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.14396,
    "h": 356.2
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#821B4D
secondary
#43B67E
accent
#E9963F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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