#822266#822266

#822266 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.150 H 342.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#822266
RGBrgb(130, 34, 102)
HSLhsl(318, 59%, 32%)
HSVhsv(318, 74%, 51%)
CMYKcmyk(0%, 73.8%, 21.5%, 49%)
CIE-LABlab(31.46, 47.47, -17.27)
CIE-LCHlch(31.46, 50.52, 340.01°)
OKLaboklab(42.9% 0.1424 -0.0464)
OKLCHoklch(42.9% 0.15 342)
XYZxyz(12.1766, 6.8504, 13.2488)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822266 #22823E
analogous
#6E2282 #822266 #822236
triadic
#822266 #668222 #226682
tetradic
#822266 #826E22 #22823E #223682
square
#822266 #826E22 #22823E #223682
split-complementary
#822266 #368222 #22826E
monochromatic
#21091A #511540 #822266 #B32F8C #D14EAA

Accessibility & contrast

On white

8.86
#822266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#822266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822266
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822266#FFFFFF#000000##FFFFFF
##8222661.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#485064
Tritanopia (blue-blind)
#8A2341
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #822266;
/* rgb */ color: rgb(130, 34, 102);
/* oklch */ color: oklch(42.9% 0.150 342.0);
Tailwind
colors: {
  custom: {
    50: '#aa6691',
    500: '#822266',
    950: '#000000',
  },
}
SCSS
$custom: #822266;
$custom-light: #aa6691;
$custom-dark: #000000;
JSON
{
  "hex": "#822266",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 317.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.14972,
    "h": 342
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#822266
secondary
#4CB46A
accent
#E27346
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #822266

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

Preview Lab → · Contrast checker → · Palette generator →

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