#821C4E#821C4E

#821C4E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.143 H 355.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#821C4E
RGBrgb(130, 28, 78)
HSLhsl(331, 65%, 31%)
HSVhsv(331, 78%, 51%)
CMYKcmyk(0%, 78.5%, 40%, 49%)
CIE-LABlab(29.73, 46.52, -4.25)
CIE-LCHlch(29.73, 46.71, 354.78°)
OKLaboklab(41.31% 0.1429 -0.0106)
OKLCHoklch(41.31% 0.143 355.8)
XYZxyz(10.9971, 6.1278, 7.8099)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C4E #1C8250
analogous
#821C81 #821C4E #821D1C
triadic
#821C4E #4E821C #1C4E82
tetradic
#821C4E #81821C #1C8250 #1D1C82
square
#821C4E #81821C #1C8250 #1D1C82
split-complementary
#821C4E #1C821D #1C8182
monochromatic
#1D0612 #501130 #821C4E #B4276C #D6428B

Accessibility & contrast

On white

9.44
#821C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#821C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C4E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C4E#FFFFFF#000000##FFFFFF
##821C4E1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#8D0E32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821c4e;
/* rgb */ color: rgb(130, 28, 78);
/* oklch */ color: oklch(41.3% 0.143 355.8);
Tailwind
colors: {
  custom: {
    50: '#ab637f',
    500: '#821c4e',
    950: '#000000',
  },
}
SCSS
$custom: #821c4e;
$custom-light: #ab637f;
$custom-dark: #000000;
JSON
{
  "hex": "#821c4e",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 330.588,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41313,
    "c": 0.14331,
    "h": 355.8
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#821C4E
secondary
#44B57E
accent
#E89640
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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