#522137#522137

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

Color values

HEX#522137
RGBrgb(82, 33, 55)
HSLhsl(333, 43%, 23%)
HSVhsv(333, 60%, 32%)
CMYKcmyk(0%, 59.8%, 32.9%, 67.8%)
CIE-LABlab(20.67, 25.66, -3.13)
CIE-LCHlch(20.67, 25.85, 353.04°)
OKLaboklab(32.63% 0.0779 -0.0079)
OKLCHoklch(32.63% 0.078 354.2)
XYZxyz(4.7133, 3.1578, 3.9750)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522137 #21523C
analogous
#522150 #522137 #522321
triadic
#522137 #375221 #213752
tetradic
#522137 #505221 #21523C #232152
square
#522137 #505221 #21523C #232152
split-complementary
#522137 #215223 #215052
monochromatic
#16090F #260F1A #522137 #7E3354 #A94472

Accessibility & contrast

On white

12.87
#522137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522137
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522137#FFFFFF#000000##FFFFFF
##5221371.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C38
Deuteranopia (green-blind)
#353536
Tritanopia (blue-blind)
#581E29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522137;
/* rgb */ color: rgb(82, 33, 55);
/* oklch */ color: oklch(32.6% 0.078 354.2);
Tailwind
colors: {
  custom: {
    50: '#855e6d',
    500: '#522137',
    950: '#000000',
  },
}
SCSS
$custom: #522137;
$custom-light: #855e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#522137",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 333.061,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.07825,
    "h": 354.2
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#522137
secondary
#49866B
accent
#D29A55
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #522137

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

Preview Lab → · Contrast checker → · Palette generator →

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