#52213A#52213A

#52213A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.8% C 0.080 H 350.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#52213A
RGBrgb(82, 33, 58)
HSLhsl(329, 43%, 23%)
HSVhsv(329, 60%, 32%)
CMYKcmyk(0%, 59.8%, 29.3%, 67.8%)
CIE-LABlab(20.78, 26.12, -5.04)
CIE-LCHlch(20.78, 26.60, 349.08°)
OKLaboklab(32.75% 0.0789 -0.0131)
OKLCHoklch(32.75% 0.08 350.6)
XYZxyz(4.7874, 3.1875, 4.3653)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52213A #215239
analogous
#522152 #52213A #522121
triadic
#52213A #3A5221 #213A52
tetradic
#52213A #525221 #215239 #212152
square
#52213A #525221 #215239 #212152
split-complementary
#52213A #215221 #215252
monochromatic
#16090F #260F1B #52213A #7E3359 #A94478

Accessibility & contrast

On white

12.83
#52213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#52213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52213A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52213A#FFFFFF#000000##FFFFFF
##52213A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3B
Deuteranopia (green-blind)
#343539
Tritanopia (blue-blind)
#581F2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #52213a;
/* rgb */ color: rgb(82, 33, 58);
/* oklch */ color: oklch(32.8% 0.080 350.6);
Tailwind
colors: {
  custom: {
    50: '#855f70',
    500: '#52213a',
    950: '#000000',
  },
}
SCSS
$custom: #52213a;
$custom-light: #855f70;
$custom-dark: #000000;
JSON
{
  "hex": "#52213a",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 329.388,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32753,
    "c": 0.08001,
    "h": 350.6
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#52213A
secondary
#498667
accent
#D29355
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #52213A

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

Preview Lab → · Contrast checker → · Palette generator →

#52213A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva