#520D2D#520D2D

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

Color values

HEX#520D2D
RGBrgb(82, 13, 45)
HSLhsl(332, 73%, 19%)
HSVhsv(332, 84%, 32%)
CMYKcmyk(0%, 84.1%, 45.1%, 67.8%)
CIE-LABlab(16.85, 33.71, -1.71)
CIE-LCHlch(16.85, 33.76, 357.09°)
OKLaboklab(29.69% 0.1036 -0.0041)
OKLCHoklch(29.69% 0.104 357.7)
XYZxyz(4.0976, 2.2717, 2.7048)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D2D #0D5232
analogous
#520D4F #520D2D #520F0D
triadic
#520D2D #2D520D #0D2D52
tetradic
#520D2D #4F520D #0D5232 #0F0D52
square
#520D2D #4F520D #0D5232 #0F0D52
split-complementary
#520D2D #0D520F #0D4F52
monochromatic
#1A040E #1D0510 #520D2D #87154A #BC1E67

Accessibility & contrast

On white

14.44
#520D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#520D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D2D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D2D#FFFFFF#000000##FFFFFF
##520D2D1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212E
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#59031B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520d2d;
/* rgb */ color: rgb(82, 13, 45);
/* oklch */ color: oklch(29.7% 0.104 357.7);
Tailwind
colors: {
  custom: {
    50: '#865465',
    500: '#520d2d',
    950: '#000000',
  },
}
SCSS
$custom: #520d2d;
$custom-light: #865465;
$custom-dark: #000000;
JSON
{
  "hex": "#520d2d",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 332.174,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.10371,
    "h": 357.7
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#520D2D
secondary
#2E8D61
accent
#EF9B38
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #520D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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