#522240#522240

#522240 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.2% C 0.082 H 344.2°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#522240
RGBrgb(82, 34, 64)
HSLhsl(323, 41%, 23%)
HSVhsv(323, 59%, 32%)
CMYKcmyk(0%, 58.5%, 22%, 67.8%)
CIE-LABlab(21.24, 26.55, -8.48)
CIE-LCHlch(21.24, 27.87, 342.29°)
OKLaboklab(33.18% 0.0792 -0.0225)
OKLCHoklch(33.18% 0.082 344.2)
XYZxyz(4.9772, 3.3085, 5.2260)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522240 #225234
analogous
#4C2252 #522240 #522228
triadic
#522240 #405222 #224052
tetradic
#522240 #524C22 #225234 #222852
square
#522240 #524C22 #225234 #222852
split-complementary
#522240 #285222 #22524C
monochromatic
#160911 #27101E #522240 #7D3462 #A94684

Accessibility & contrast

On white

12.64
#522240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#522240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522240
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522240#FFFFFF#000000##FFFFFF
##5222401.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#57222E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522240;
/* rgb */ color: rgb(82, 34, 64);
/* oklch */ color: oklch(33.2% 0.082 344.2);
Tailwind
colors: {
  custom: {
    50: '#845f74',
    500: '#522240',
    950: '#000000',
  },
}
SCSS
$custom: #522240;
$custom-light: #845f74;
$custom-dark: #000000;
JSON
{
  "hex": "#522240",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 322.5,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.08235,
    "h": 344.2
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#522240
secondary
#4A8660
accent
#D18557
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #522240

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

Preview Lab → · Contrast checker → · Palette generator →

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