#522136#522136

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

Color values

HEX#522136
RGBrgb(82, 33, 54)
HSLhsl(334, 43%, 23%)
HSVhsv(334, 60%, 32%)
CMYKcmyk(0%, 59.8%, 34.1%, 67.8%)
CIE-LABlab(20.63, 25.51, -2.49)
CIE-LCHlch(20.63, 25.63, 354.42°)
OKLaboklab(32.59% 0.0775 -0.0062)
OKLCHoklch(32.59% 0.078 355.4)
XYZxyz(4.6896, 3.1483, 3.8500)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522136 #21523D
analogous
#52214E #522136 #522521
triadic
#522136 #365221 #213652
tetradic
#522136 #4E5221 #21523D #252152
square
#522136 #4E5221 #21523D #252152
split-complementary
#522136 #215225 #214E52
monochromatic
#16090E #260F19 #522136 #7E3353 #A9446F

Accessibility & contrast

On white

12.89
#522136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522136
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522136#FFFFFF#000000##FFFFFF
##5221361.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522136;
/* rgb */ color: rgb(82, 33, 54);
/* oklch */ color: oklch(32.6% 0.078 355.4);
Tailwind
colors: {
  custom: {
    50: '#855e6c',
    500: '#522136',
    950: '#000000',
  },
}
SCSS
$custom: #522136;
$custom-light: #855e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#522136",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 334.286,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3259,
    "c": 0.07772,
    "h": 355.4
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#522136
secondary
#49866C
accent
#D29D55
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #522136

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

Preview Lab → · Contrast checker → · Palette generator →

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