#821A5F#821A5F

#821A5F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.154 H 345.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#821A5F
RGBrgb(130, 26, 95)
HSLhsl(320, 67%, 31%)
HSVhsv(320, 80%, 51%)
CMYKcmyk(0%, 80%, 26.9%, 49%)
CIE-LABlab(30.19, 49.23, -14.71)
CIE-LCHlch(30.19, 51.38, 343.36°)
OKLaboklab(41.87% 0.1494 -0.0391)
OKLCHoklch(41.87% 0.154 345.3)
XYZxyz(11.6414, 6.3121, 11.4296)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A5F #1A823D
analogous
#711A82 #821A5F #821A2B
triadic
#821A5F #5F821A #1A5F82
tetradic
#821A5F #82711A #1A823D #1A2B82
square
#821A5F #82711A #1A823D #1A2B82
split-complementary
#821A5F #2B821A #1A8271
monochromatic
#1C0614 #4F103A #821A5F #B52484 #D83EA4

Accessibility & contrast

On white

9.28
#821A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821A5F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A5F#FFFFFF#000000##FFFFFF
##821A5F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#8B183A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821a5f;
/* rgb */ color: rgb(130, 26, 95);
/* oklch */ color: oklch(41.9% 0.154 345.3);
Tailwind
colors: {
  custom: {
    50: '#aa638c',
    500: '#821a5f',
    950: '#000000',
  },
}
SCSS
$custom: #821a5f;
$custom-light: #aa638c;
$custom-dark: #000000;
JSON
{
  "hex": "#821a5f",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 320.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.15443,
    "h": 345.3
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#821A5F
secondary
#42B669
accent
#EA783E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #821A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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