#522236#522236

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

Color values

HEX#522236
RGBrgb(82, 34, 54)
HSLhsl(335, 41%, 23%)
HSVhsv(335, 59%, 32%)
CMYKcmyk(0%, 58.5%, 34.1%, 67.8%)
CIE-LABlab(20.85, 24.94, -2.17)
CIE-LCHlch(20.85, 25.03, 355.03°)
OKLaboklab(32.75% 0.0757 -0.0054)
OKLCHoklch(32.75% 0.076 355.9)
XYZxyz(4.7178, 3.2047, 3.8594)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522236 #22523E
analogous
#52224E #522236 #522622
triadic
#522236 #365222 #223652
tetradic
#522236 #4E5222 #22523E #262252
square
#522236 #4E5222 #22523E #262252
split-complementary
#522236 #225226 #224E52
monochromatic
#16090E #27101A #522236 #7D3452 #A9466F

Accessibility & contrast

On white

12.80
#522236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#522236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522236
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522236#FFFFFF#000000##FFFFFF
##5222361.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D37
Deuteranopia (green-blind)
#363535
Tritanopia (blue-blind)
#581F2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522236;
/* rgb */ color: rgb(82, 34, 54);
/* oklch */ color: oklch(32.8% 0.076 355.9);
Tailwind
colors: {
  custom: {
    50: '#855f6c',
    500: '#522236',
    950: '#000000',
  },
}
SCSS
$custom: #522236;
$custom-light: #855f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#522236",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 335,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32752,
    "c": 0.07591,
    "h": 355.9
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#522236
secondary
#4A866D
accent
#D19E57
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #522236

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

Preview Lab → · Contrast checker → · Palette generator →

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