#520D33#520D33

#520D33 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.107 H 352.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#520D33
RGBrgb(82, 13, 51)
HSLhsl(327, 73%, 19%)
HSVhsv(327, 84%, 32%)
CMYKcmyk(0%, 84.1%, 37.8%, 67.8%)
CIE-LABlab(17.09, 34.44, -5.66)
CIE-LCHlch(17.09, 34.90, 350.66°)
OKLaboklab(29.94% 0.1056 -0.0146)
OKLCHoklch(29.94% 0.107 352.1)
XYZxyz(4.2214, 2.3212, 3.3571)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D33 #0D522C
analogous
#4E0D52 #520D33 #520D10
triadic
#520D33 #33520D #0D3352
tetradic
#520D33 #524E0D #0D522C #0D1052
square
#520D33 #524E0D #0D522C #0D1052
split-complementary
#520D33 #10520D #0D524E
monochromatic
#1A0410 #1D0512 #520D33 #871554 #BC1E75

Accessibility & contrast

On white

14.34
#520D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#520D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D33
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D33#FFFFFF#000000##FFFFFF
##520D331.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2234
Deuteranopia (green-blind)
#2E2F31
Tritanopia (blue-blind)
#59071E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520d33;
/* rgb */ color: rgb(82, 13, 51);
/* oklch */ color: oklch(29.9% 0.107 352.1);
Tailwind
colors: {
  custom: {
    50: '#86546a',
    500: '#520d33',
    950: '#000000',
  },
}
SCSS
$custom: #520d33;
$custom-light: #86546a;
$custom-dark: #000000;
JSON
{
  "hex": "#520d33",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 326.957,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.10665,
    "h": 352.1
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#520D33
secondary
#2E8D59
accent
#EF8B38
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520D33

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

Preview Lab → · Contrast checker → · Palette generator →

#520D33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva