#822058#822058

#822058 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.144 H 350.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#822058
RGBrgb(130, 32, 88)
HSLhsl(326, 60%, 32%)
HSVhsv(326, 75%, 51%)
CMYKcmyk(0%, 75.4%, 32.3%, 49%)
CIE-LABlab(30.60, 46.31, -9.51)
CIE-LCHlch(30.60, 47.28, 348.39°)
OKLaboklab(42.07% 0.1415 -0.0248)
OKLCHoklch(42.07% 0.144 350.1)
XYZxyz(11.4845, 6.4847, 9.8775)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822058 #20824A
analogous
#7B2082 #822058 #822027
triadic
#822058 #588220 #205882
tetradic
#822058 #827B20 #20824A #202782
square
#822058 #827B20 #20824A #202782
split-complementary
#822058 #278220 #20827B
monochromatic
#200816 #511437 #822058 #B32C79 #D24A98

Accessibility & contrast

On white

9.14
#822058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#822058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822058
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822058#FFFFFF#000000##FFFFFF
##8220581.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D5A
Deuteranopia (green-blind)
#4C4E56
Tritanopia (blue-blind)
#8C1A39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #822058;
/* rgb */ color: rgb(130, 32, 88);
/* oklch */ color: oklch(42.1% 0.144 350.1);
Tailwind
colors: {
  custom: {
    50: '#aa6587',
    500: '#822058',
    950: '#000000',
  },
}
SCSS
$custom: #822058;
$custom-light: #aa6587;
$custom-dark: #000000;
JSON
{
  "hex": "#822058",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 325.714,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.14361,
    "h": 350.1
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#822058
secondary
#49B577
accent
#E48944
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822058

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

Preview Lab → · Contrast checker → · Palette generator →

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