#822371#822371

#822371 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.156 H 336.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#822371
RGBrgb(130, 35, 113)
HSLhsl(311, 58%, 32%)
HSVhsv(311, 73%, 51%)
CMYKcmyk(0%, 73.1%, 13.1%, 49%)
CIE-LABlab(32.13, 48.76, -23.27)
CIE-LCHlch(32.13, 54.03, 334.49°)
OKLaboklab(43.55% 0.1429 -0.0634)
OKLCHoklch(43.55% 0.156 336.1)
XYZxyz(12.7878, 7.1413, 16.3245)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822371 #238234
analogous
#642382 #822371 #822341
triadic
#822371 #718223 #237182
tetradic
#822371 #826423 #238234 #234182
square
#822371 #826423 #238234 #234182
split-complementary
#822371 #418223 #238264
monochromatic
#22091D #521647 #822371 #B2309B #D050B9

Accessibility & contrast

On white

8.65
#822371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#822371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822371
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822371#FFFFFF#000000##FFFFFF
##8223711.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#892947
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822371;
/* rgb */ color: rgb(130, 35, 113);
/* oklch */ color: oklch(43.5% 0.156 336.1);
Tailwind
colors: {
  custom: {
    50: '#a9679a',
    500: '#822371',
    950: '#000000',
  },
}
SCSS
$custom: #822371;
$custom-light: #a9679a;
$custom-dark: #000000;
JSON
{
  "hex": "#822371",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 310.737,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.15632,
    "h": 336.1
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#822371
secondary
#4DB360
accent
#E16347
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822371

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

Preview Lab → · Contrast checker → · Palette generator →

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