#520D38#520D38

#520D38 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.110 H 347.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#520D38
RGBrgb(82, 13, 56)
HSLhsl(323, 73%, 19%)
HSVhsv(323, 84%, 32%)
CMYKcmyk(0%, 84.1%, 31.7%, 67.8%)
CIE-LABlab(17.31, 35.10, -8.88)
CIE-LCHlch(17.31, 36.21, 345.80°)
OKLaboklab(30.17% 0.107 -0.0234)
OKLCHoklch(30.17% 0.11 347.7)
XYZxyz(4.3376, 2.3677, 3.9692)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D38 #0D5227
analogous
#490D52 #520D38 #520D15
triadic
#520D38 #38520D #0D3852
tetradic
#520D38 #52490D #0D5227 #0D1552
square
#520D38 #52490D #0D5227 #0D1552
split-complementary
#520D38 #15520D #0D5249
monochromatic
#1A0412 #1D0514 #520D38 #87155C #BC1E80

Accessibility & contrast

On white

14.25
#520D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#520D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D38
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D38#FFFFFF#000000##FFFFFF
##520D381.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#2C2F36
Tritanopia (blue-blind)
#580A21
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520d38;
/* rgb */ color: rgb(82, 13, 56);
/* oklch */ color: oklch(30.2% 0.110 347.7);
Tailwind
colors: {
  custom: {
    50: '#86546e',
    500: '#520d38',
    950: '#000000',
  },
}
SCSS
$custom: #520d38;
$custom-light: #86546e;
$custom-dark: #000000;
JSON
{
  "hex": "#520d38",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 322.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.10956,
    "h": 347.7
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#520D38
secondary
#2E8D52
accent
#EF7D38
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520D38

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

Preview Lab → · Contrast checker → · Palette generator →

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