#520F20#520F20

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

Color values

HEX#520F20
RGBrgb(82, 15, 32)
HSLhsl(345, 69%, 19%)
HSVhsv(345, 82%, 32%)
CMYKcmyk(0%, 81.7%, 61%, 67.8%)
CIE-LABlab(16.70, 31.67, 7.47)
CIE-LCHlch(16.70, 32.54, 13.27°)
OKLaboklab(29.44% 0.0959 0.0188)
OKLCHoklch(29.44% 0.098 11.1)
XYZxyz(3.9116, 2.2403, 1.5927)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F20 #0F5241
analogous
#520F42 #520F20 #52200F
triadic
#520F20 #20520F #0F2052
tetradic
#520F20 #42520F #0F5241 #200F52
square
#520F20 #42520F #0F5241 #200F52
split-complementary
#520F20 #0F5220 #0F4252
monochromatic
#1A050A #1E060C #520F20 #861834 #B92248

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##520F20#FFFFFF#000000##FFFFFF
##520F201.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)
#212120
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#5A0016
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f20;
/* rgb */ color: rgb(82, 15, 32);
/* oklch */ color: oklch(29.4% 0.098 11.1);
Tailwind
colors: {
  custom: {
    50: '#87545b',
    500: '#520f20',
    950: '#000000',
  },
}
SCSS
$custom: #520f20;
$custom-light: #87545b;
$custom-dark: #000000;
JSON
{
  "hex": "#520f20",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 32
  },
  "hsl": {
    "h": 344.776,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29439,
    "c": 0.09772,
    "h": 11.1
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#520F20
secondary
#318C75
accent
#ECBF3C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520F20

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

Preview Lab → · Contrast checker → · Palette generator →

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