#520D26#520D26

#520D26 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.101 H 4.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#520D26
RGBrgb(82, 13, 38)
HSLhsl(338, 73%, 19%)
HSVhsv(338, 84%, 32%)
CMYKcmyk(0%, 84.1%, 53.7%, 67.8%)
CIE-LABlab(16.61, 32.97, 3.00)
CIE-LCHlch(16.61, 33.10, 5.19°)
OKLaboklab(29.43% 0.1009 0.008)
OKLCHoklch(29.43% 0.101 4.5)
XYZxyz(3.9738, 2.2222, 2.0530)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D26 #0D5239
analogous
#520D48 #520D26 #52160D
triadic
#520D26 #26520D #0D2652
tetradic
#520D26 #48520D #0D5239 #160D52
square
#520D26 #48520D #0D5239 #160D52
split-complementary
#520D26 #0D5216 #0D4852
monochromatic
#1A040C #1D050E #520D26 #87153E #BC1E57

Accessibility & contrast

On white

14.54
#520D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#520D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520D26
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D26#FFFFFF#000000##FFFFFF
##520D261.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#302E24
Tritanopia (blue-blind)
#5A0018
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520d26;
/* rgb */ color: rgb(82, 13, 38);
/* oklch */ color: oklch(29.4% 0.101 4.5);
Tailwind
colors: {
  custom: {
    50: '#875460',
    500: '#520d26',
    950: '#000000',
  },
}
SCSS
$custom: #520d26;
$custom-light: #875460;
$custom-dark: #000000;
JSON
{
  "hex": "#520d26",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 338.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29431,
    "c": 0.1012,
    "h": 4.5
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#520D26
secondary
#2E8D6A
accent
#EFAD38
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520D26

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

Preview Lab → · Contrast checker → · Palette generator →

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