#520E21#520E21

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

Color values

HEX#520E21
RGBrgb(82, 14, 33)
HSLhsl(343, 71%, 19%)
HSVhsv(343, 83%, 32%)
CMYKcmyk(0%, 82.9%, 59.8%, 67.8%)
CIE-LABlab(16.59, 32.14, 6.60)
CIE-LCHlch(16.59, 32.81, 11.60°)
OKLaboklab(29.37% 0.0976 0.0167)
OKLCHoklch(29.37% 0.099 9.7)
XYZxyz(3.9116, 2.2183, 1.6607)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E21 #0E523F
analogous
#520E43 #520E21 #521D0E
triadic
#520E21 #21520E #0E2152
tetradic
#520E21 #43520E #0E523F #1D0E52
square
#520E21 #43520E #0E523F #1D0E52
split-complementary
#520E21 #0E521D #0E4352
monochromatic
#1A040B #1E050C #520E21 #861736 #BB204B

Accessibility & contrast

On white

14.55
#520E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520E21
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E21#FFFFFF#000000##FFFFFF
##520E211.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202021
Deuteranopia (green-blind)
#322E1F
Tritanopia (blue-blind)
#5A0016
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520e21;
/* rgb */ color: rgb(82, 14, 33);
/* oklch */ color: oklch(29.4% 0.099 9.7);
Tailwind
colors: {
  custom: {
    50: '#87545b',
    500: '#520e21',
    950: '#000000',
  },
}
SCSS
$custom: #520e21;
$custom-light: #87545b;
$custom-dark: #000000;
JSON
{
  "hex": "#520e21",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 33
  },
  "hsl": {
    "h": 343.235,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29369,
    "c": 0.09898,
    "h": 9.7
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#520E21
secondary
#2F8C72
accent
#EEBB3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520E21

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

Preview Lab → · Contrast checker → · Palette generator →

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