#822056#822056

#822056 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.143 H 351.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#822056
RGBrgb(130, 32, 86)
HSLhsl(327, 60%, 32%)
HSVhsv(327, 75%, 51%)
CMYKcmyk(0%, 75.4%, 33.8%, 49%)
CIE-LABlab(30.53, 46.06, -8.32)
CIE-LCHlch(30.53, 46.81, 349.76°)
OKLaboklab(41.99% 0.1409 -0.0216)
OKLCHoklch(41.99% 0.143 351.3)
XYZxyz(11.4028, 6.4521, 9.4472)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822056 #20824C
analogous
#7D2082 #822056 #822025
triadic
#822056 #568220 #205682
tetradic
#822056 #827D20 #20824C #202582
square
#822056 #827D20 #20824C #202582
split-complementary
#822056 #258220 #20827D
monochromatic
#200815 #511436 #822056 #B32C76 #D24A95

Accessibility & contrast

On white

9.17
#822056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#822056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822056
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822056#FFFFFF#000000##FFFFFF
##8220561.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8C1938
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #822056;
/* rgb */ color: rgb(130, 32, 86);
/* oklch */ color: oklch(42.0% 0.143 351.3);
Tailwind
colors: {
  custom: {
    50: '#aa6585',
    500: '#822056',
    950: '#000000',
  },
}
SCSS
$custom: #822056;
$custom-light: #aa6585;
$custom-dark: #000000;
JSON
{
  "hex": "#822056",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 326.939,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41991,
    "c": 0.14254,
    "h": 351.3
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#822056
secondary
#49B579
accent
#E48C44
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822056

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

Preview Lab → · Contrast checker → · Palette generator →

#822056 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva