#522134#522134

#522134 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.077 H 357.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#522134
RGBrgb(82, 33, 52)
HSLhsl(337, 43%, 23%)
HSVhsv(337, 60%, 32%)
CMYKcmyk(0%, 59.8%, 36.6%, 67.8%)
CIE-LABlab(20.56, 25.21, -1.21)
CIE-LCHlch(20.56, 25.24, 357.26°)
OKLaboklab(32.51% 0.0767 -0.0028)
OKLCHoklch(32.51% 0.077 357.9)
XYZxyz(4.6436, 3.1299, 3.6077)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522134 #21523F
analogous
#52214C #522134 #522721
triadic
#522134 #345221 #213452
tetradic
#522134 #4C5221 #21523F #272152
square
#522134 #4C5221 #21523F #272152
split-complementary
#522134 #215227 #214C52
monochromatic
#16090E #260F18 #522134 #7E3350 #A9446B

Accessibility & contrast

On white

12.92
#522134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522134
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522134#FFFFFF#000000##FFFFFF
##5221341.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292C35
Deuteranopia (green-blind)
#363533
Tritanopia (blue-blind)
#581D28
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522134;
/* rgb */ color: rgb(82, 33, 52);
/* oklch */ color: oklch(32.5% 0.077 357.9);
Tailwind
colors: {
  custom: {
    50: '#855e6b',
    500: '#522134',
    950: '#000000',
  },
}
SCSS
$custom: #522134;
$custom-light: #855e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#522134",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 52
  },
  "hsl": {
    "h": 336.735,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.07674,
    "h": 357.9
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#522134
secondary
#49866E
accent
#D2A255
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #522134

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

Preview Lab → · Contrast checker → · Palette generator →

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