#520D2E#520D2E

#520D2E is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.104 H 356.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#520D2E
RGBrgb(82, 13, 46)
HSLhsl(331, 73%, 19%)
HSVhsv(331, 84%, 32%)
CMYKcmyk(0%, 84.1%, 43.9%, 67.8%)
CIE-LABlab(16.89, 33.83, -2.38)
CIE-LCHlch(16.89, 33.91, 355.98°)
OKLaboklab(29.73% 0.104 -0.0058)
OKLCHoklch(29.73% 0.104 356.8)
XYZxyz(4.1170, 2.2795, 2.8074)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D2E #0D5231
analogous
#520D50 #520D2E #520E0D
triadic
#520D2E #2E520D #0D2E52
tetradic
#520D2E #50520D #0D5231 #0E0D52
square
#520D2E #50520D #0D5231 #0E0D52
split-complementary
#520D2E #0D520E #0D5052
monochromatic
#1A040F #1D0510 #520D2E #87154C #BC1E69

Accessibility & contrast

On white

14.43
#520D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D2E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D2E#FFFFFF#000000##FFFFFF
##520D2E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212F
Deuteranopia (green-blind)
#2F2E2C
Tritanopia (blue-blind)
#59041C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520d2e;
/* rgb */ color: rgb(82, 13, 46);
/* oklch */ color: oklch(29.7% 0.104 356.8);
Tailwind
colors: {
  custom: {
    50: '#865466',
    500: '#520d2e',
    950: '#000000',
  },
}
SCSS
$custom: #520d2e;
$custom-light: #865466;
$custom-dark: #000000;
JSON
{
  "hex": "#520d2e",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 331.304,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29726,
    "c": 0.10415,
    "h": 356.8
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#520D2E
secondary
#2E8D5F
accent
#EF9838
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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