#522244#522244

#522244 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.4% C 0.086 H 339.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#522244
RGBrgb(82, 34, 68)
HSLhsl(318, 41%, 23%)
HSVhsv(318, 59%, 32%)
CMYKcmyk(0%, 58.5%, 17.1%, 67.8%)
CIE-LABlab(21.42, 27.26, -10.95)
CIE-LCHlch(21.42, 29.37, 338.12°)
OKLaboklab(33.36% 0.0804 -0.0294)
OKLCHoklch(33.36% 0.086 339.9)
XYZxyz(5.0952, 3.3556, 5.8471)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522244 #225230
analogous
#482252 #522244 #52222C
triadic
#522244 #445222 #224452
tetradic
#522244 #524822 #225230 #222C52
square
#522244 #524822 #225230 #222C52
split-complementary
#522244 #2C5222 #225248
monochromatic
#160912 #271020 #522244 #7D3468 #A9468C

Accessibility & contrast

On white

12.57
#522244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#522244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522244
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522244#FFFFFF#000000##FFFFFF
##5222441.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F45
Deuteranopia (green-blind)
#323643
Tritanopia (blue-blind)
#572330
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522244;
/* rgb */ color: rgb(82, 34, 68);
/* oklch */ color: oklch(33.4% 0.086 339.9);
Tailwind
colors: {
  custom: {
    50: '#845f78',
    500: '#522244',
    950: '#000000',
  },
}
SCSS
$custom: #522244;
$custom-light: #845f78;
$custom-dark: #000000;
JSON
{
  "hex": "#522244",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 68
  },
  "hsl": {
    "h": 317.5,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33364,
    "c": 0.08558,
    "h": 339.9
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#522244
secondary
#4A865B
accent
#D17A57
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #522244

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

Preview Lab → · Contrast checker → · Palette generator →

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