#520E22#520E22

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

Color values

HEX#520E22
RGBrgb(82, 14, 34)
HSLhsl(342, 71%, 19%)
HSVhsv(342, 83%, 32%)
CMYKcmyk(0%, 82.9%, 58.5%, 67.8%)
CIE-LABlab(16.62, 32.23, 5.91)
CIE-LCHlch(16.62, 32.76, 10.39°)
OKLaboklab(29.4% 0.098 0.0151)
OKLCHoklch(29.4% 0.099 8.7)
XYZxyz(3.9258, 2.2240, 1.7356)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E22 #0E523E
analogous
#520E44 #520E22 #521C0E
triadic
#520E22 #22520E #0E2252
tetradic
#520E22 #44520E #0E523E #1C0E52
square
#520E22 #44520E #0E523E #1C0E52
split-complementary
#520E22 #0E521C #0E4452
monochromatic
#1A040B #1E050C #520E22 #861738 #BB204D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##520E22#FFFFFF#000000##FFFFFF
##520E221.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)
#202022
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#5A0017
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520e22;
/* rgb */ color: rgb(82, 14, 34);
/* oklch */ color: oklch(29.4% 0.099 8.7);
Tailwind
colors: {
  custom: {
    50: '#87545c',
    500: '#520e22',
    950: '#000000',
  },
}
SCSS
$custom: #520e22;
$custom-light: #87545c;
$custom-dark: #000000;
JSON
{
  "hex": "#520e22",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 342.353,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29398,
    "c": 0.09915,
    "h": 8.7
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#520E22
secondary
#2F8C71
accent
#EEB93A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520E22

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

Preview Lab → · Contrast checker → · Palette generator →

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