#520B22#520B22

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

Color values

HEX#520B22
RGBrgb(82, 11, 34)
HSLhsl(341, 76%, 18%)
HSVhsv(341, 87%, 32%)
CMYKcmyk(0%, 86.6%, 58.5%, 67.8%)
CIE-LABlab(16.25, 33.27, 5.39)
CIE-LCHlch(16.25, 33.70, 9.21°)
OKLaboklab(29.13% 0.1014 0.0138)
OKLCHoklch(29.13% 0.102 7.8)
XYZxyz(3.8884, 2.1492, 1.7232)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B22 #0B523B
analogous
#520B45 #520B22 #52170B
triadic
#520B22 #22520B #0B2252
tetradic
#520B22 #45520B #0B523B #170B52
square
#520B22 #45520B #0B523B #170B52
split-complementary
#520B22 #0B5217 #0B4552
monochromatic
#1B040B #1C040C #520B22 #881238 #BE194F

Accessibility & contrast

On white

14.69
#520B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520B22
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B22#FFFFFF#000000##FFFFFF
##520B221.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F22
Deuteranopia (green-blind)
#312D20
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520b22;
/* rgb */ color: rgb(82, 11, 34);
/* oklch */ color: oklch(29.1% 0.102 7.8);
Tailwind
colors: {
  custom: {
    50: '#87535c',
    500: '#520b22',
    950: '#000000',
  },
}
SCSS
$custom: #520b22;
$custom-light: #87535c;
$custom-dark: #000000;
JSON
{
  "hex": "#520b22",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 34
  },
  "hsl": {
    "h": 340.563,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29126,
    "c": 0.10231,
    "h": 7.8
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#520B22
secondary
#2B8E6E
accent
#F3B535
background
#F8F4F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520B22

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

Preview Lab → · Contrast checker → · Palette generator →

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