#520E29#520E29

#520E29 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.101 H 1.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#520E29
RGBrgb(82, 14, 41)
HSLhsl(336, 71%, 19%)
HSVhsv(336, 83%, 32%)
CMYKcmyk(0%, 82.9%, 50%, 67.8%)
CIE-LABlab(16.84, 32.92, 1.15)
CIE-LCHlch(16.84, 32.94, 2.00°)
OKLaboklab(29.63% 0.101 0.0033)
OKLCHoklch(29.63% 0.101 1.9)
XYZxyz(4.0373, 2.2685, 2.3227)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E29 #0E5237
analogous
#520E4B #520E29 #52150E
triadic
#520E29 #29520E #0E2952
tetradic
#520E29 #4B520E #0E5237 #150E52
square
#520E29 #4B520E #0E5237 #150E52
split-complementary
#520E29 #0E5215 #0E4B52
monochromatic
#1A040D #1E050F #520E29 #861743 #BB205D

Accessibility & contrast

On white

14.45
#520E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#520E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E29
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E29#FFFFFF#000000##FFFFFF
##520E291.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E212A
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#5A021A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520e29;
/* rgb */ color: rgb(82, 14, 41);
/* oklch */ color: oklch(29.6% 0.101 1.9);
Tailwind
colors: {
  custom: {
    50: '#875462',
    500: '#520e29',
    950: '#000000',
  },
}
SCSS
$custom: #520e29;
$custom-light: #875462;
$custom-dark: #000000;
JSON
{
  "hex": "#520e29",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 336.176,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29628,
    "c": 0.10101,
    "h": 1.9
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#520E29
secondary
#2F8C67
accent
#EEA63A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520E29

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

Preview Lab → · Contrast checker → · Palette generator →

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