#522232#522232

#522232 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.6% C 0.074 H 1.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#522232
RGBrgb(82, 34, 50)
HSLhsl(340, 41%, 23%)
HSVhsv(340, 59%, 32%)
CMYKcmyk(0%, 58.5%, 39%, 67.8%)
CIE-LABlab(20.71, 24.36, 0.40)
CIE-LCHlch(20.71, 24.36, 0.94°)
OKLaboklab(32.6% 0.0741 0.0014)
OKLCHoklch(32.6% 0.074 1)
XYZxyz(4.6277, 3.1686, 3.3849)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522232 #225242
analogous
#52224A #522232 #522A22
triadic
#522232 #325222 #223252
tetradic
#522232 #4A5222 #225242 #2A2252
square
#522232 #4A5222 #225242 #2A2252
split-complementary
#522232 #22522A #224A52
monochromatic
#16090D #271018 #522232 #7D344C #A94667

Accessibility & contrast

On white

12.86
#522232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#522232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522232
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522232#FFFFFF#000000##FFFFFF
##5222321.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C32
Deuteranopia (green-blind)
#363531
Tritanopia (blue-blind)
#591E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522232;
/* rgb */ color: rgb(82, 34, 50);
/* oklch */ color: oklch(32.6% 0.074 1.0);
Tailwind
colors: {
  custom: {
    50: '#855f69',
    500: '#522232',
    950: '#000000',
  },
}
SCSS
$custom: #522232;
$custom-light: #855f69;
$custom-dark: #000000;
JSON
{
  "hex": "#522232",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 50
  },
  "hsl": {
    "h": 340,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.07412,
    "h": 1
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#522232
secondary
#4A8672
accent
#D1A857
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522232

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

Preview Lab → · Contrast checker → · Palette generator →

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