#520B29#520B29

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

Color values

HEX#520B29
RGBrgb(82, 11, 41)
HSLhsl(335, 76%, 18%)
HSVhsv(335, 87%, 32%)
CMYKcmyk(0%, 86.6%, 50%, 67.8%)
CIE-LABlab(16.47, 33.95, 0.62)
CIE-LCHlch(16.47, 33.95, 1.05°)
OKLaboklab(29.36% 0.1043 0.002)
OKLCHoklch(29.36% 0.104 1.1)
XYZxyz(3.9999, 2.1938, 2.3102)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B29 #0B5234
analogous
#520B4C #520B29 #52100B
triadic
#520B29 #29520B #0B2952
tetradic
#520B29 #4C520B #0B5234 #100B52
square
#520B29 #4C520B #0B5234 #100B52
split-complementary
#520B29 #0B5210 #0B4C52
monochromatic
#1B040D #1C040E #520B29 #881244 #BE195F

Accessibility & contrast

On white

14.60
#520B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520B29
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B29#FFFFFF#000000##FFFFFF
##520B291.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202A
Deuteranopia (green-blind)
#2F2E27
Tritanopia (blue-blind)
#5A0019
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520b29;
/* rgb */ color: rgb(82, 11, 41);
/* oklch */ color: oklch(29.4% 0.104 1.1);
Tailwind
colors: {
  custom: {
    50: '#875362',
    500: '#520b29',
    950: '#000000',
  },
}
SCSS
$custom: #520b29;
$custom-light: #875362;
$custom-dark: #000000;
JSON
{
  "hex": "#520b29",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 334.648,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29361,
    "c": 0.1043,
    "h": 1.1
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#520B29
secondary
#2B8E64
accent
#F3A335
background
#F8F5F5
surface
#F0E8EA
border
#CBC4C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520B29

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

Preview Lab → · Contrast checker → · Palette generator →

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