#520F29#520F29

#520F29 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.100 H 2.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#520F29
RGBrgb(82, 15, 41)
HSLhsl(337, 69%, 19%)
HSVhsv(337, 82%, 32%)
CMYKcmyk(0%, 81.7%, 50%, 67.8%)
CIE-LABlab(16.97, 32.54, 1.34)
CIE-LCHlch(16.97, 32.57, 2.36°)
OKLaboklab(29.73% 0.0998 0.0038)
OKLCHoklch(29.73% 0.1 2.2)
XYZxyz(4.0511, 2.2961, 2.3273)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F29 #0F5238
analogous
#520F4B #520F29 #52170F
triadic
#520F29 #29520F #0F2952
tetradic
#520F29 #4B520F #0F5238 #170F52
square
#520F29 #4B520F #0F5238 #170F52
split-complementary
#520F29 #0F5217 #0F4B52
monochromatic
#1A050D #1E060F #520F29 #861843 #B9225D

Accessibility & contrast

On white

14.39
#520F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#520F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F29
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F29#FFFFFF#000000##FFFFFF
##520F291.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222A
Deuteranopia (green-blind)
#302F27
Tritanopia (blue-blind)
#5A041A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520f29;
/* rgb */ color: rgb(82, 15, 41);
/* oklch */ color: oklch(29.7% 0.100 2.2);
Tailwind
colors: {
  custom: {
    50: '#875562',
    500: '#520f29',
    950: '#000000',
  },
}
SCSS
$custom: #520f29;
$custom-light: #875562;
$custom-dark: #000000;
JSON
{
  "hex": "#520f29",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 336.716,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29726,
    "c": 0.09983,
    "h": 2.2
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#520F29
secondary
#318C69
accent
#ECA83C
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520F29

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

Preview Lab → · Contrast checker → · Palette generator →

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