#520C22#520C22

#520C22 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.101 H 8.1°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#520C22
RGBrgb(82, 12, 34)
HSLhsl(341, 74%, 18%)
HSVhsv(341, 85%, 32%)
CMYKcmyk(0%, 85.4%, 58.5%, 67.8%)
CIE-LABlab(16.37, 32.94, 5.56)
CIE-LCHlch(16.37, 33.40, 9.58°)
OKLaboklab(29.21% 0.1003 0.0142)
OKLCHoklch(29.21% 0.101 8.1)
XYZxyz(3.9002, 2.1728, 1.7271)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520C22 #0C523C
analogous
#520C45 #520C22 #52190C
triadic
#520C22 #22520C #0C2252
tetradic
#520C22 #45520C #0C523C #190C52
square
#520C22 #45520C #0C523C #190C52
split-complementary
#520C22 #0C5219 #0C4552
monochromatic
#1B040B #1D040C #520C22 #871438 #BD1C4E

Accessibility & contrast

On white

14.64
#520C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520C22
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520C22#FFFFFF#000000##FFFFFF
##520C221.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2022
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#5A0016
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520c22;
/* rgb */ color: rgb(82, 12, 34);
/* oklch */ color: oklch(29.2% 0.101 8.1);
Tailwind
colors: {
  custom: {
    50: '#87535c',
    500: '#520c22',
    950: '#000000',
  },
}
SCSS
$custom: #520c22;
$custom-light: #87535c;
$custom-dark: #000000;
JSON
{
  "hex": "#520c22",
  "rgb": {
    "r": 82,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 341.143,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29212,
    "c": 0.1013,
    "h": 8.1
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#520C22
secondary
#2C8D6F
accent
#F1B737
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520C22

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

Preview Lab → · Contrast checker → · Palette generator →

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