#522342#522342

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

Color values

HEX#522342
RGBrgb(82, 35, 66)
HSLhsl(320, 40%, 23%)
HSVhsv(320, 57%, 32%)
CMYKcmyk(0%, 57.3%, 19.5%, 67.8%)
CIE-LABlab(21.54, 26.33, -9.39)
CIE-LCHlch(21.54, 27.95, 340.38°)
OKLaboklab(33.43% 0.0781 -0.025)
OKLCHoklch(33.43% 0.082 342.2)
XYZxyz(5.0642, 3.3896, 5.5407)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522342 #235233
analogous
#4A2352 #522342 #52232A
triadic
#522342 #425223 #234252
tetradic
#522342 #524A23 #235233 #232A52
square
#522342 #524A23 #235233 #232A52
split-complementary
#522342 #2A5223 #23524A
monochromatic
#150911 #27111F #522342 #7D3565 #A84887

Accessibility & contrast

On white

12.52
#522342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#522342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522342
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522342#FFFFFF#000000##FFFFFF
##5223421.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#333641
Tritanopia (blue-blind)
#57232F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #522342;
/* rgb */ color: rgb(82, 35, 66);
/* oklch */ color: oklch(33.4% 0.082 342.2);
Tailwind
colors: {
  custom: {
    50: '#846076',
    500: '#522342',
    950: '#000000',
  },
}
SCSS
$custom: #522342;
$custom-light: #846076;
$custom-dark: #000000;
JSON
{
  "hex": "#522342",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 320.426,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33429,
    "c": 0.08204,
    "h": 342.2
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#522342
secondary
#4B865F
accent
#D08158
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #522342

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

Preview Lab → · Contrast checker → · Palette generator →

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