#822166#822166

#822166 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.151 H 341.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#822166
RGBrgb(130, 33, 102)
HSLhsl(317, 60%, 32%)
HSVhsv(317, 75%, 51%)
CMYKcmyk(0%, 74.6%, 21.5%, 49%)
CIE-LABlab(31.33, 47.84, -17.47)
CIE-LCHlch(31.33, 50.93, 339.93°)
OKLaboklab(42.8% 0.1435 -0.0469)
OKLCHoklch(42.8% 0.151 341.9)
XYZxyz(12.1484, 6.7941, 13.2394)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822166 #21823D
analogous
#6E2182 #822166 #822135
triadic
#822166 #668221 #216682
tetradic
#822166 #826E21 #21823D #213582
square
#822166 #826E21 #21823D #213582
split-complementary
#822166 #358221 #21826E
monochromatic
#200819 #511540 #822166 #B32D8C #D24CAB

Accessibility & contrast

On white

8.90
#822166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#822166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822166
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822166#FFFFFF#000000##FFFFFF
##8221661.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#484F64
Tritanopia (blue-blind)
#8A2240
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #822166;
/* rgb */ color: rgb(130, 33, 102);
/* oklch */ color: oklch(42.8% 0.151 341.9);
Tailwind
colors: {
  custom: {
    50: '#aa6691',
    500: '#822166',
    950: '#000000',
  },
}
SCSS
$custom: #822166;
$custom-light: #aa6691;
$custom-dark: #000000;
JSON
{
  "hex": "#822166",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 317.32,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.15096,
    "h": 341.9
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#822166
secondary
#4AB469
accent
#E37345
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #822166

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

Preview Lab → · Contrast checker → · Palette generator →

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