#822270#822270

#822270 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.157 H 336.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#822270
RGBrgb(130, 34, 112)
HSLhsl(311, 59%, 32%)
HSVhsv(311, 74%, 51%)
CMYKcmyk(0%, 73.8%, 13.8%, 49%)
CIE-LABlab(31.95, 48.98, -22.92)
CIE-LCHlch(31.95, 54.07, 334.92°)
OKLaboklab(43.4% 0.1439 -0.0624)
OKLCHoklch(43.4% 0.157 336.6)
XYZxyz(12.7028, 7.0609, 16.0200)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822270 #228234
analogous
#642282 #822270 #822240
triadic
#822270 #708222 #227082
tetradic
#822270 #826422 #228234 #224082
square
#822270 #826422 #228234 #224082
split-complementary
#822270 #408222 #228264
monochromatic
#21091C #511546 #822270 #B32F9A #D14EB8

Accessibility & contrast

On white

8.71
#822270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#822270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822270
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822270#FFFFFF#000000##FFFFFF
##8222701.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#45506E
Tritanopia (blue-blind)
#892846
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #822270;
/* rgb */ color: rgb(130, 34, 112);
/* oklch */ color: oklch(43.4% 0.157 336.6);
Tailwind
colors: {
  custom: {
    50: '#aa6799',
    500: '#822270',
    950: '#000000',
  },
}
SCSS
$custom: #822270;
$custom-light: #aa6799;
$custom-dark: #000000;
JSON
{
  "hex": "#822270",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 311.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43403,
    "c": 0.15681,
    "h": 336.6
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#822270
secondary
#4CB45F
accent
#E26346
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822270

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

Preview Lab → · Contrast checker → · Palette generator →

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