#522332#522332

#522332 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.8% C 0.072 H 1.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#522332
RGBrgb(82, 35, 50)
HSLhsl(341, 40%, 23%)
HSVhsv(341, 57%, 32%)
CMYKcmyk(0%, 57.3%, 39%, 67.8%)
CIE-LABlab(20.93, 23.78, 0.72)
CIE-LCHlch(20.93, 23.79, 1.75°)
OKLaboklab(32.77% 0.0723 0.0022)
OKLCHoklch(32.77% 0.072 1.7)
XYZxyz(4.6567, 3.2266, 3.3946)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522332 #235243
analogous
#522349 #522332 #522B23
triadic
#522332 #325223 #233252
tetradic
#522332 #495223 #235243 #2B2352
square
#522332 #495223 #235243 #2B2352
split-complementary
#522332 #23522B #234952
monochromatic
#15090D #271118 #522332 #7D354C #A84866

Accessibility & contrast

On white

12.76
#522332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#522332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522332
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522332#FFFFFF#000000##FFFFFF
##5223321.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2D32
Deuteranopia (green-blind)
#373631
Tritanopia (blue-blind)
#591F29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522332;
/* rgb */ color: rgb(82, 35, 50);
/* oklch */ color: oklch(32.8% 0.072 1.7);
Tailwind
colors: {
  custom: {
    50: '#856069',
    500: '#522332',
    950: '#000000',
  },
}
SCSS
$custom: #522332;
$custom-light: #856069;
$custom-dark: #000000;
JSON
{
  "hex": "#522332",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 50
  },
  "hsl": {
    "h": 340.851,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.07235,
    "h": 1.7
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#522332
secondary
#4B8673
accent
#D0AA58
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522332

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

Preview Lab → · Contrast checker → · Palette generator →

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