#821A42#821A42

#821A42 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.141 H 3.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#821A42
RGBrgb(130, 26, 66)
HSLhsl(337, 67%, 31%)
HSVhsv(337, 80%, 51%)
CMYKcmyk(0%, 80%, 49.2%, 49%)
CIE-LABlab(29.11, 45.94, 2.81)
CIE-LCHlch(29.11, 46.03, 3.50°)
OKLaboklab(40.73% 0.1408 0.0077)
OKLCHoklch(40.73% 0.141 3.1)
XYZxyz(10.5596, 5.8794, 5.7320)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A42 #1A825A
analogous
#821A76 #821A42 #82261A
triadic
#821A42 #42821A #1A4282
tetradic
#821A42 #76821A #1A825A #261A82
square
#821A42 #76821A #1A825A #261A82
split-complementary
#821A42 #1A8226 #1A7682
monochromatic
#1C060E #4F1028 #821A42 #B5245C #D83E79

Accessibility & contrast

On white

9.65
#821A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#821A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A42
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A42#FFFFFF#000000##FFFFFF
##821A421.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333843
Deuteranopia (green-blind)
#4F4C40
Tritanopia (blue-blind)
#8E012C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #821a42;
/* rgb */ color: rgb(130, 26, 66);
/* oklch */ color: oklch(40.7% 0.141 3.1);
Tailwind
colors: {
  custom: {
    50: '#ab6276',
    500: '#821a42',
    950: '#000000',
  },
}
SCSS
$custom: #821a42;
$custom-light: #ab6276;
$custom-dark: #000000;
JSON
{
  "hex": "#821a42",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 336.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.14104,
    "h": 3.1
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#821A42
secondary
#42B689
accent
#EAA83E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #821A42

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

Preview Lab → · Contrast checker → · Palette generator →

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