#821E40#821E40

#821E40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.136 H 5.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#821E40
RGBrgb(130, 30, 64)
HSLhsl(340, 63%, 31%)
HSVhsv(340, 77%, 51%)
CMYKcmyk(0%, 76.9%, 50.8%, 49%)
CIE-LABlab(29.53, 44.40, 4.75)
CIE-LCHlch(29.53, 44.66, 6.11°)
OKLaboklab(41.02% 0.1357 0.0125)
OKLCHoklch(41.02% 0.136 5.3)
XYZxyz(10.5965, 6.0460, 5.4585)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E40 #1E8260
analogous
#821E72 #821E40 #822E1E
triadic
#821E40 #40821E #1E4082
tetradic
#821E40 #72821E #1E8260 #2E1E82
square
#821E40 #72821E #1E8260 #2E1E82
split-complementary
#821E40 #1E822E #1E7282
monochromatic
#1F070F #501328 #821E40 #B42958 #D44676

Accessibility & contrast

On white

9.51
#821E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#821E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E40
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E40#FFFFFF#000000##FFFFFF
##821E401.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8E072C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #821e40;
/* rgb */ color: rgb(130, 30, 64);
/* oklch */ color: oklch(41.0% 0.136 5.3);
Tailwind
colors: {
  custom: {
    50: '#ab6374',
    500: '#821e40',
    950: '#000000',
  },
}
SCSS
$custom: #821e40;
$custom-light: #ab6374;
$custom-dark: #000000;
JSON
{
  "hex": "#821e40",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 339.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.13629,
    "h": 5.3
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#821E40
secondary
#47B590
accent
#E6AE42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #821E40

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

Preview Lab → · Contrast checker → · Palette generator →

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