#520D29#520D29

#520D29 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.102 H 1.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#520D29
RGBrgb(82, 13, 41)
HSLhsl(336, 73%, 19%)
HSVhsv(336, 84%, 32%)
CMYKcmyk(0%, 84.1%, 50%, 67.8%)
CIE-LABlab(16.71, 33.27, 0.96)
CIE-LCHlch(16.71, 33.29, 1.66°)
OKLaboklab(29.54% 0.1021 0.0029)
OKLCHoklch(29.54% 0.102 1.6)
XYZxyz(4.0242, 2.2423, 2.3183)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D29 #0D5236
analogous
#520D4B #520D29 #52130D
triadic
#520D29 #29520D #0D2952
tetradic
#520D29 #4B520D #0D5236 #130D52
square
#520D29 #4B520D #0D5236 #130D52
split-complementary
#520D29 #0D5213 #0D4B52
monochromatic
#1A040D #1D050F #520D29 #871543 #BC1E5E

Accessibility & contrast

On white

14.50
#520D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D29
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D29#FFFFFF#000000##FFFFFF
##520D291.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212A
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#5A0119
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520d29;
/* rgb */ color: rgb(82, 13, 41);
/* oklch */ color: oklch(29.5% 0.102 1.6);
Tailwind
colors: {
  custom: {
    50: '#875462',
    500: '#520d29',
    950: '#000000',
  },
}
SCSS
$custom: #520d29;
$custom-light: #875462;
$custom-dark: #000000;
JSON
{
  "hex": "#520d29",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 41
  },
  "hsl": {
    "h": 335.652,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29535,
    "c": 0.10215,
    "h": 1.6
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#520D29
secondary
#2E8D66
accent
#EFA538
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520D29

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

Preview Lab → · Contrast checker → · Palette generator →

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