#822262#822262

#822262 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.147 H 344.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#822262
RGBrgb(130, 34, 98)
HSLhsl(320, 59%, 32%)
HSVhsv(320, 74%, 51%)
CMYKcmyk(0%, 73.8%, 24.6%, 49%)
CIE-LABlab(31.28, 46.90, -14.97)
CIE-LCHlch(31.28, 49.23, 342.30°)
OKLaboklab(42.71% 0.1416 -0.0399)
OKLCHoklch(42.71% 0.147 344.3)
XYZxyz(11.9830, 6.7730, 12.2291)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822262 #228242
analogous
#722282 #822262 #822232
triadic
#822262 #628222 #226282
tetradic
#822262 #827222 #228242 #223282
square
#822262 #827222 #228242 #223282
split-complementary
#822262 #328222 #228272
monochromatic
#210919 #51153D #822262 #B32F87 #D14EA5

Accessibility & contrast

On white

8.92
#822262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#822262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822262
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822262#FFFFFF#000000##FFFFFF
##8222621.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F64
Deuteranopia (green-blind)
#4A4F60
Tritanopia (blue-blind)
#8B213F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #822262;
/* rgb */ color: rgb(130, 34, 98);
/* oklch */ color: oklch(42.7% 0.147 344.3);
Tailwind
colors: {
  custom: {
    50: '#aa668e',
    500: '#822262',
    950: '#000000',
  },
}
SCSS
$custom: #822262;
$custom-light: #aa668e;
$custom-dark: #000000;
JSON
{
  "hex": "#822262",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 320,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42708,
    "c": 0.14709,
    "h": 344.3
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#822262
secondary
#4CB46F
accent
#E27A46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #822262

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

Preview Lab → · Contrast checker → · Palette generator →

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