#821F4E#821F4E

#821F4E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.140 H 356.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#821F4E
RGBrgb(130, 31, 78)
HSLhsl(332, 61%, 32%)
HSVhsv(332, 76%, 51%)
CMYKcmyk(0%, 76.2%, 40%, 49%)
CIE-LABlab(30.10, 45.48, -3.70)
CIE-LCHlch(30.10, 45.63, 355.35°)
OKLaboklab(41.58% 0.1396 -0.0092)
OKLCHoklch(41.58% 0.14 356.2)
XYZxyz(11.0718, 6.2772, 7.8348)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F4E #1F8253
analogous
#821F80 #821F4E #82211F
triadic
#821F4E #4E821F #1F4E82
tetradic
#821F4E #80821F #1F8253 #211F82
square
#821F4E #80821F #1F8253 #211F82
split-complementary
#821F4E #1F8221 #1F8082
monochromatic
#1F0713 #511330 #821F4E #B32B6C #D3488A

Accessibility & contrast

On white

9.31
#821F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#821F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F4E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F4E#FFFFFF#000000##FFFFFF
##821F4E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4E4E4C
Tritanopia (blue-blind)
#8D1333
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821f4e;
/* rgb */ color: rgb(130, 31, 78);
/* oklch */ color: oklch(41.6% 0.140 356.2);
Tailwind
colors: {
  custom: {
    50: '#ab647f',
    500: '#821f4e',
    950: '#000000',
  },
}
SCSS
$custom: #821f4e;
$custom-light: #ab647f;
$custom-dark: #000000;
JSON
{
  "hex": "#821f4e",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 331.515,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.13991,
    "h": 356.2
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#821F4E
secondary
#48B581
accent
#E59843
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #821F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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