#822161#822161

#822161 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.148 H 344.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#822161
RGBrgb(130, 33, 97)
HSLhsl(320, 60%, 32%)
HSVhsv(320, 75%, 51%)
CMYKcmyk(0%, 74.6%, 25.4%, 49%)
CIE-LABlab(31.11, 47.13, -14.59)
CIE-LCHlch(31.11, 49.34, 342.80°)
OKLaboklab(42.57% 0.1425 -0.0388)
OKLCHoklch(42.57% 0.148 344.7)
XYZxyz(11.9079, 6.6979, 11.9726)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822161 #218242
analogous
#732182 #822161 #822131
triadic
#822161 #618221 #216182
tetradic
#822161 #827321 #218242 #213182
square
#822161 #827321 #218242 #213182
split-complementary
#822161 #318221 #218273
monochromatic
#200818 #51153D #822161 #B32D85 #D24CA4

Accessibility & contrast

On white

8.98
#822161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#822161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822161
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822161#FFFFFF#000000##FFFFFF
##8221611.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F63
Deuteranopia (green-blind)
#4A4F5F
Tritanopia (blue-blind)
#8B203E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #822161;
/* rgb */ color: rgb(130, 33, 97);
/* oklch */ color: oklch(42.6% 0.148 344.7);
Tailwind
colors: {
  custom: {
    50: '#aa668e',
    500: '#822161',
    950: '#000000',
  },
}
SCSS
$custom: #822161;
$custom-light: #aa668e;
$custom-dark: #000000;
JSON
{
  "hex": "#822161",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 320.412,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.14769,
    "h": 344.7
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#822161
secondary
#4AB46E
accent
#E37B45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #822161

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

Preview Lab → · Contrast checker → · Palette generator →

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