#822158#822158

#822158 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.142 H 350.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#822158
RGBrgb(130, 33, 88)
HSLhsl(326, 60%, 32%)
HSVhsv(326, 75%, 51%)
CMYKcmyk(0%, 74.6%, 32.3%, 49%)
CIE-LABlab(30.73, 45.94, -9.32)
CIE-LCHlch(30.73, 46.88, 348.54°)
OKLaboklab(42.17% 0.1403 -0.0243)
OKLCHoklch(42.17% 0.142 350.2)
XYZxyz(11.5118, 6.5394, 9.8866)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822158 #21824B
analogous
#7C2182 #822158 #822128
triadic
#822158 #588221 #215882
tetradic
#822158 #827C21 #21824B #212882
square
#822158 #827C21 #21824B #212882
split-complementary
#822158 #288221 #21827C
monochromatic
#200816 #511537 #822158 #B32D79 #D24C98

Accessibility & contrast

On white

9.10
#822158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822158
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822158#FFFFFF#000000##FFFFFF
##8221581.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D59
Deuteranopia (green-blind)
#4C4F56
Tritanopia (blue-blind)
#8C1B39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #822158;
/* rgb */ color: rgb(130, 33, 88);
/* oklch */ color: oklch(42.2% 0.142 350.2);
Tailwind
colors: {
  custom: {
    50: '#aa6687',
    500: '#822158',
    950: '#000000',
  },
}
SCSS
$custom: #822158;
$custom-light: #aa6687;
$custom-dark: #000000;
JSON
{
  "hex": "#822158",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 325.979,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.14239,
    "h": 350.2
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#822158
secondary
#4AB478
accent
#E38945
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822158

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

Preview Lab → · Contrast checker → · Palette generator →

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