#520C29#520C29

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

Color values

HEX#520C29
RGBrgb(82, 12, 41)
HSLhsl(335, 74%, 18%)
HSVhsv(335, 85%, 32%)
CMYKcmyk(0%, 85.4%, 50%, 67.8%)
CIE-LABlab(16.59, 33.62, 0.79)
CIE-LCHlch(16.59, 33.63, 1.34°)
OKLaboklab(29.45% 0.1032 0.0024)
OKLCHoklch(29.45% 0.103 1.3)
XYZxyz(4.0117, 2.2174, 2.3141)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520C29 #0C5235
analogous
#520C4C #520C29 #52120C
triadic
#520C29 #29520C #0C2952
tetradic
#520C29 #4C520C #0C5235 #120C52
square
#520C29 #4C520C #0C5235 #120C52
split-complementary
#520C29 #0C5212 #0C4C52
monochromatic
#1B040D #1D040E #520C29 #871444 #BD1C5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##520C29#FFFFFF#000000##FFFFFF
##520C291.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)
#1D202A
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#5A0019
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520c29;
/* rgb */ color: rgb(82, 12, 41);
/* oklch */ color: oklch(29.4% 0.103 1.3);
Tailwind
colors: {
  custom: {
    50: '#875362',
    500: '#520c29',
    950: '#000000',
  },
}
SCSS
$custom: #520c29;
$custom-light: #875362;
$custom-dark: #000000;
JSON
{
  "hex": "#520c29",
  "rgb": {
    "r": 82,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 335.143,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29446,
    "c": 0.10325,
    "h": 1.3
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#520C29
secondary
#2C8D65
accent
#F1A437
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520C29

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

Preview Lab → · Contrast checker → · Palette generator →

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