#520B20#520B20

#520B20 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.102 H 9.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#520B20
RGBrgb(82, 11, 32)
HSLhsl(342, 76%, 18%)
HSVhsv(342, 87%, 32%)
CMYKcmyk(0%, 86.6%, 61%, 67.8%)
CIE-LABlab(16.20, 33.10, 6.77)
CIE-LCHlch(16.20, 33.78, 11.56°)
OKLaboklab(29.07% 0.1005 0.0171)
OKLCHoklch(29.07% 0.102 9.7)
XYZxyz(3.8604, 2.1380, 1.5756)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B20 #0B523D
analogous
#520B43 #520B20 #521A0B
triadic
#520B20 #20520B #0B2052
tetradic
#520B20 #43520B #0B523D #1A0B52
square
#520B20 #43520B #0B523D #1A0B52
split-complementary
#520B20 #0B521A #0B4352
monochromatic
#1B040B #1C040B #520B20 #881235 #BE194A

Accessibility & contrast

On white

14.71
#520B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#520B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B20
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B20#FFFFFF#000000##FFFFFF
##520B201.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F20
Deuteranopia (green-blind)
#312D1E
Tritanopia (blue-blind)
#5A0014
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520b20;
/* rgb */ color: rgb(82, 11, 32);
/* oklch */ color: oklch(29.1% 0.102 9.7);
Tailwind
colors: {
  custom: {
    50: '#88535b',
    500: '#520b20',
    950: '#000000',
  },
}
SCSS
$custom: #520b20;
$custom-light: #88535b;
$custom-dark: #000000;
JSON
{
  "hex": "#520b20",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 32
  },
  "hsl": {
    "h": 342.254,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.10193,
    "h": 9.7
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#520B20
secondary
#2B8E71
accent
#F3BB35
background
#F8F4F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520B20

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

Preview Lab → · Contrast checker → · Palette generator →

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