#821D40#821D40

#821D40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.137 H 5.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#821D40
RGBrgb(130, 29, 64)
HSLhsl(339, 64%, 31%)
HSVhsv(339, 78%, 51%)
CMYKcmyk(0%, 77.7%, 50.8%, 49%)
CIE-LABlab(29.40, 44.76, 4.57)
CIE-LCHlch(29.40, 44.99, 5.83°)
OKLaboklab(40.92% 0.1368 0.0121)
OKLCHoklch(40.92% 0.137 5)
XYZxyz(10.5716, 5.9962, 5.4502)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D40 #1D825F
analogous
#821D72 #821D40 #822C1D
triadic
#821D40 #40821D #1D4082
tetradic
#821D40 #72821D #1D825F #2C1D82
square
#821D40 #72821D #1D825F #2C1D82
split-complementary
#821D40 #1D822C #1D7282
monochromatic
#1E070F #501227 #821D40 #B42859 #D54476

Accessibility & contrast

On white

9.55
#821D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#821D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D40
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D40#FFFFFF#000000##FFFFFF
##821D401.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8E052C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #821d40;
/* rgb */ color: rgb(130, 29, 64);
/* oklch */ color: oklch(40.9% 0.137 5.0);
Tailwind
colors: {
  custom: {
    50: '#ab6374',
    500: '#821d40',
    950: '#000000',
  },
}
SCSS
$custom: #821d40;
$custom-light: #ab6374;
$custom-dark: #000000;
JSON
{
  "hex": "#821d40",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 339.208,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40924,
    "c": 0.13737,
    "h": 5
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#821D40
secondary
#46B58F
accent
#E7AD41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #821D40

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

Preview Lab → · Contrast checker → · Palette generator →

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