#822162#822162

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

Color values

HEX#822162
RGBrgb(130, 33, 98)
HSLhsl(320, 60%, 32%)
HSVhsv(320, 75%, 51%)
CMYKcmyk(0%, 74.6%, 24.6%, 49%)
CIE-LABlab(31.15, 47.27, -15.17)
CIE-LCHlch(31.15, 49.65, 342.20°)
OKLaboklab(42.61% 0.1427 -0.0405)
OKLCHoklch(42.61% 0.148 344.2)
XYZxyz(11.9548, 6.7166, 12.2198)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822162 #218241
analogous
#722182 #822162 #822132
triadic
#822162 #628221 #216282
tetradic
#822162 #827221 #218241 #213282
square
#822162 #827221 #218241 #213282
split-complementary
#822162 #328221 #218272
monochromatic
#200818 #51153D #822162 #B32D87 #D24CA5

Accessibility & contrast

On white

8.96
#822162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822162
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822162#FFFFFF#000000##FFFFFF
##8221621.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#494F60
Tritanopia (blue-blind)
#8B203E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #822162;
/* rgb */ color: rgb(130, 33, 98);
/* oklch */ color: oklch(42.6% 0.148 344.2);
Tailwind
colors: {
  custom: {
    50: '#aa668e',
    500: '#822162',
    950: '#000000',
  },
}
SCSS
$custom: #822162;
$custom-light: #aa668e;
$custom-dark: #000000;
JSON
{
  "hex": "#822162",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 319.794,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.14833,
    "h": 344.2
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#822162
secondary
#4AB46D
accent
#E37945
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #822162

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

Preview Lab → · Contrast checker → · Palette generator →

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