#822271#822271

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

Color values

HEX#822271
RGBrgb(130, 34, 113)
HSLhsl(311, 59%, 32%)
HSVhsv(311, 74%, 51%)
CMYKcmyk(0%, 73.8%, 13.1%, 49%)
CIE-LABlab(32.00, 49.13, -23.48)
CIE-LCHlch(32.00, 54.45, 334.46°)
OKLaboklab(43.46% 0.144 -0.064)
OKLCHoklch(43.46% 0.158 336)
XYZxyz(12.7588, 7.0833, 16.3148)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822271 #228233
analogous
#632282 #822271 #822241
triadic
#822271 #718222 #227182
tetradic
#822271 #826322 #228233 #224182
square
#822271 #826322 #228233 #224182
split-complementary
#822271 #418222 #228263
monochromatic
#21091D #511547 #822271 #B32F9B #D14EB9

Accessibility & contrast

On white

8.69
#822271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#822271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822271
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822271#FFFFFF#000000##FFFFFF
##8222711.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#892947
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #822271;
/* rgb */ color: rgb(130, 34, 113);
/* oklch */ color: oklch(43.5% 0.158 336.0);
Tailwind
colors: {
  custom: {
    50: '#aa679a',
    500: '#822271',
    950: '#000000',
  },
}
SCSS
$custom: #822271;
$custom-light: #aa679a;
$custom-dark: #000000;
JSON
{
  "hex": "#822271",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 310.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43456,
    "c": 0.15756,
    "h": 336
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#822271
secondary
#4CB45E
accent
#E26246
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822271

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

Preview Lab → · Contrast checker → · Palette generator →

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