#520D28#520D28

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

Color values

HEX#520D28
RGBrgb(82, 13, 40)
HSLhsl(337, 73%, 19%)
HSVhsv(337, 84%, 32%)
CMYKcmyk(0%, 84.1%, 51.2%, 67.8%)
CIE-LABlab(16.68, 33.17, 1.64)
CIE-LCHlch(16.68, 33.21, 2.83°)
OKLaboklab(29.5% 0.1017 0.0046)
OKLCHoklch(29.5% 0.102 2.6)
XYZxyz(4.0069, 2.2354, 2.2276)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D28 #0D5237
analogous
#520D4A #520D28 #52140D
triadic
#520D28 #28520D #0D2852
tetradic
#520D28 #4A520D #0D5237 #140D52
square
#520D28 #4A520D #0D5237 #140D52
split-complementary
#520D28 #0D5214 #0D4A52
monochromatic
#1A040D #1D050E #520D28 #871542 #BC1E5C

Accessibility & contrast

On white

14.51
#520D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D28
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D28#FFFFFF#000000##FFFFFF
##520D281.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520d28;
/* rgb */ color: rgb(82, 13, 40);
/* oklch */ color: oklch(29.5% 0.102 2.6);
Tailwind
colors: {
  custom: {
    50: '#875461',
    500: '#520d28',
    950: '#000000',
  },
}
SCSS
$custom: #520d28;
$custom-light: #875461;
$custom-dark: #000000;
JSON
{
  "hex": "#520d28",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 336.522,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29499,
    "c": 0.10181,
    "h": 2.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#520D28
secondary
#2E8D68
accent
#EFA838
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520D28

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

Preview Lab → · Contrast checker → · Palette generator →

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