#522336#522336

#522336 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 32.9% C 0.074 H 356.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#522336
RGBrgb(82, 35, 54)
HSLhsl(336, 40%, 23%)
HSVhsv(336, 57%, 32%)
CMYKcmyk(0%, 57.3%, 34.1%, 67.8%)
CIE-LABlab(21.07, 24.36, -1.84)
CIE-LCHlch(21.07, 24.43, 355.67°)
OKLaboklab(32.92% 0.0739 -0.0045)
OKLCHoklch(32.92% 0.074 356.5)
XYZxyz(4.7468, 3.2627, 3.8691)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522336 #23523F
analogous
#52234D #522336 #522723
triadic
#522336 #365223 #233652
tetradic
#522336 #4D5223 #23523F #272352
square
#522336 #4D5223 #23523F #272352
split-complementary
#522336 #235227 #234D52
monochromatic
#15090E #27111A #522336 #7D3552 #A8486E

Accessibility & contrast

On white

12.71
#522336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522336
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522336#FFFFFF#000000##FFFFFF
##5223361.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D37
Deuteranopia (green-blind)
#363635
Tritanopia (blue-blind)
#58202A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522336;
/* rgb */ color: rgb(82, 35, 54);
/* oklch */ color: oklch(32.9% 0.074 356.5);
Tailwind
colors: {
  custom: {
    50: '#85606c',
    500: '#522336',
    950: '#000000',
  },
}
SCSS
$custom: #522336;
$custom-light: #85606c;
$custom-dark: #000000;
JSON
{
  "hex": "#522336",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 54
  },
  "hsl": {
    "h": 335.745,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32918,
    "c": 0.07408,
    "h": 356.5
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#522336
secondary
#4B866E
accent
#D09F58
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #522336

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

Preview Lab → · Contrast checker → · Palette generator →

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