#522133#522133

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

Color values

HEX#522133
RGBrgb(82, 33, 51)
HSLhsl(338, 43%, 23%)
HSVhsv(338, 60%, 32%)
CMYKcmyk(0%, 59.8%, 37.8%, 67.8%)
CIE-LABlab(20.52, 25.07, -0.56)
CIE-LCHlch(20.52, 25.08, 358.71°)
OKLaboklab(32.48% 0.0763 -0.0012)
OKLCHoklch(32.48% 0.076 359.1)
XYZxyz(4.6213, 3.1210, 3.4904)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522133 #215240
analogous
#52214C #522133 #522721
triadic
#522133 #335221 #213352
tetradic
#522133 #4C5221 #215240 #272152
square
#522133 #4C5221 #215240 #272152
split-complementary
#522133 #215227 #214C52
monochromatic
#16090E #260F18 #522133 #7E334E #A94469

Accessibility & contrast

On white

12.93
#522133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#522133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522133
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522133#FFFFFF#000000##FFFFFF
##5221331.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292C34
Deuteranopia (green-blind)
#363532
Tritanopia (blue-blind)
#591D28
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522133;
/* rgb */ color: rgb(82, 33, 51);
/* oklch */ color: oklch(32.5% 0.076 359.1);
Tailwind
colors: {
  custom: {
    50: '#855e6a',
    500: '#522133',
    950: '#000000',
  },
}
SCSS
$custom: #522133;
$custom-light: #855e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#522133",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 51
  },
  "hsl": {
    "h": 337.959,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32476,
    "c": 0.0763,
    "h": 359.1
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#522133
secondary
#498670
accent
#D2A455
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #522133

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

Preview Lab → · Contrast checker → · Palette generator →

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