#822256#822256

#822256 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 351.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#822256
RGBrgb(130, 34, 86)
HSLhsl(328, 59%, 32%)
HSVhsv(328, 74%, 51%)
CMYKcmyk(0%, 73.8%, 33.8%, 49%)
CIE-LABlab(30.79, 45.32, -7.92)
CIE-LCHlch(30.79, 46.00, 350.08°)
OKLaboklab(42.19% 0.1386 -0.0205)
OKLCHoklch(42.19% 0.14 351.6)
XYZxyz(11.4583, 6.5631, 9.4657)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822256 #22824E
analogous
#7E2282 #822256 #822226
triadic
#822256 #568222 #225682
tetradic
#822256 #827E22 #22824E #222682
square
#822256 #827E22 #22824E #222682
split-complementary
#822256 #268222 #22827E
monochromatic
#210916 #511536 #822256 #B32F76 #D14E95

Accessibility & contrast

On white

9.08
#822256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#822256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822256
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822256#FFFFFF#000000##FFFFFF
##8222561.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D57
Deuteranopia (green-blind)
#4D4F54
Tritanopia (blue-blind)
#8C1B39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #822256;
/* rgb */ color: rgb(130, 34, 86);
/* oklch */ color: oklch(42.2% 0.140 351.6);
Tailwind
colors: {
  custom: {
    50: '#aa6685',
    500: '#822256',
    950: '#000000',
  },
}
SCSS
$custom: #822256;
$custom-light: #aa6685;
$custom-dark: #000000;
JSON
{
  "hex": "#822256",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 327.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.14007,
    "h": 351.6
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#822256
secondary
#4CB47C
accent
#E28D46
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822256

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

Preview Lab → · Contrast checker → · Palette generator →

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