#822170#822170

#822170 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.158 H 336.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#822170
RGBrgb(130, 33, 112)
HSLhsl(311, 60%, 32%)
HSVhsv(311, 75%, 51%)
CMYKcmyk(0%, 74.6%, 13.8%, 49%)
CIE-LABlab(31.82, 49.34, -23.12)
CIE-LCHlch(31.82, 54.49, 334.89°)
OKLaboklab(43.31% 0.145 -0.0629)
OKLCHoklch(43.31% 0.158 336.5)
XYZxyz(12.6746, 7.0045, 16.0106)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822170 #218233
analogous
#642182 #822170 #822140
triadic
#822170 #708221 #217082
tetradic
#822170 #826421 #218233 #214082
square
#822170 #826421 #218233 #214082
split-complementary
#822170 #408221 #218264
monochromatic
#20081C #511546 #822170 #B32D9A #D24CB9

Accessibility & contrast

On white

8.75
#822170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#822170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822170
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822170#FFFFFF#000000##FFFFFF
##8221701.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#44506E
Tritanopia (blue-blind)
#892746
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #822170;
/* rgb */ color: rgb(130, 33, 112);
/* oklch */ color: oklch(43.3% 0.158 336.5);
Tailwind
colors: {
  custom: {
    50: '#aa6699',
    500: '#822170',
    950: '#000000',
  },
}
SCSS
$custom: #822170;
$custom-light: #aa6699;
$custom-dark: #000000;
JSON
{
  "hex": "#822170",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 311.134,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.15803,
    "h": 336.5
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#822170
secondary
#4AB45E
accent
#E36245
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822170

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

Preview Lab → · Contrast checker → · Palette generator →

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