#520D27#520D27

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

Color values

HEX#520D27
RGBrgb(82, 13, 39)
HSLhsl(337, 73%, 19%)
HSVhsv(337, 84%, 32%)
CMYKcmyk(0%, 84.1%, 52.4%, 67.8%)
CIE-LABlab(16.64, 33.07, 2.32)
CIE-LCHlch(16.64, 33.15, 4.01°)
OKLaboklab(29.47% 0.1013 0.0063)
OKLCHoklch(29.47% 0.102 3.5)
XYZxyz(3.9901, 2.2287, 2.1391)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520D27 #0D5238
analogous
#520D49 #520D27 #52150D
triadic
#520D27 #27520D #0D2752
tetradic
#520D27 #49520D #0D5238 #150D52
square
#520D27 #49520D #0D5238 #150D52
split-complementary
#520D27 #0D5215 #0D4952
monochromatic
#1A040D #1D050E #520D27 #871540 #BC1E59

Accessibility & contrast

On white

14.53
#520D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520D27
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520D27#FFFFFF#000000##FFFFFF
##520D271.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520d27;
/* rgb */ color: rgb(82, 13, 39);
/* oklch */ color: oklch(29.5% 0.102 3.5);
Tailwind
colors: {
  custom: {
    50: '#875460',
    500: '#520d27',
    950: '#000000',
  },
}
SCSS
$custom: #520d27;
$custom-light: #875460;
$custom-dark: #000000;
JSON
{
  "hex": "#520d27",
  "rgb": {
    "r": 82,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 337.391,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29465,
    "c": 0.1015,
    "h": 3.5
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#520D27
secondary
#2E8D69
accent
#EFAA38
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520D27

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

Preview Lab → · Contrast checker → · Palette generator →

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