#821C5F#821C5F

#821C5F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.152 H 345.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#821C5F
RGBrgb(130, 28, 95)
HSLhsl(321, 65%, 31%)
HSVhsv(321, 78%, 51%)
CMYKcmyk(0%, 78.5%, 26.9%, 49%)
CIE-LABlab(30.41, 48.59, -14.37)
CIE-LCHlch(30.41, 50.67, 343.52°)
OKLaboklab(42.03% 0.1474 -0.0382)
OKLCHoklch(42.03% 0.152 345.5)
XYZxyz(11.6872, 6.4038, 11.4448)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C5F #1C823F
analogous
#721C82 #821C5F #821C2C
triadic
#821C5F #5F821C #1C5F82
tetradic
#821C5F #82721C #1C823F #1C2C82
square
#821C5F #82721C #1C823F #1C2C82
split-complementary
#821C5F #2C821C #1C8272
monochromatic
#1D0615 #50113A #821C5F #B42784 #D642A3

Accessibility & contrast

On white

9.21
#821C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#821C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C5F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C5F#FFFFFF#000000##FFFFFF
##821C5F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#8B1A3B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821c5f;
/* rgb */ color: rgb(130, 28, 95);
/* oklch */ color: oklch(42.0% 0.152 345.5);
Tailwind
colors: {
  custom: {
    50: '#aa648c',
    500: '#821c5f',
    950: '#000000',
  },
}
SCSS
$custom: #821c5f;
$custom-light: #aa648c;
$custom-dark: #000000;
JSON
{
  "hex": "#821c5f",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 320.588,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42028,
    "c": 0.1523,
    "h": 345.5
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#821C5F
secondary
#44B56B
accent
#E87A40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #821C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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