#822259#822259

#822259 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.142 H 349.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#822259
RGBrgb(130, 34, 89)
HSLhsl(326, 59%, 32%)
HSVhsv(326, 74%, 51%)
CMYKcmyk(0%, 73.8%, 31.5%, 49%)
CIE-LABlab(30.91, 45.69, -9.71)
CIE-LCHlch(30.91, 46.71, 348.01°)
OKLaboklab(42.31% 0.1394 -0.0253)
OKLCHoklch(42.31% 0.142 349.7)
XYZxyz(11.5817, 6.6125, 10.1157)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822259 #22824B
analogous
#7B2282 #822259 #822229
triadic
#822259 #598222 #225982
tetradic
#822259 #827B22 #22824B #222982
square
#822259 #827B22 #22824B #222982
split-complementary
#822259 #298222 #22827B
monochromatic
#210917 #511538 #822259 #B32F7A #D14E99

Accessibility & contrast

On white

9.04
#822259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#822259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822259
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822259#FFFFFF#000000##FFFFFF
##8222591.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5B
Deuteranopia (green-blind)
#4C4F57
Tritanopia (blue-blind)
#8C1D3A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #822259;
/* rgb */ color: rgb(130, 34, 89);
/* oklch */ color: oklch(42.3% 0.142 349.7);
Tailwind
colors: {
  custom: {
    50: '#aa6688',
    500: '#822259',
    950: '#000000',
  },
}
SCSS
$custom: #822259;
$custom-light: #aa6688;
$custom-dark: #000000;
JSON
{
  "hex": "#822259",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 325.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.14169,
    "h": 349.7
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#822259
secondary
#4CB478
accent
#E28946
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822259

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

Preview Lab → · Contrast checker → · Palette generator →

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