#520F24#520F24

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

Color values

HEX#520F24
RGBrgb(82, 15, 36)
HSLhsl(341, 69%, 19%)
HSVhsv(341, 82%, 32%)
CMYKcmyk(0%, 81.7%, 56.1%, 67.8%)
CIE-LABlab(16.81, 32.04, 4.73)
CIE-LCHlch(16.81, 32.38, 8.40°)
OKLaboklab(29.56% 0.0977 0.0122)
OKLCHoklch(29.56% 0.098 7.1)
XYZxyz(3.9693, 2.2634, 1.8966)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F24 #0F523D
analogous
#520F46 #520F24 #521C0F
triadic
#520F24 #24520F #0F2452
tetradic
#520F24 #46520F #0F523D #1C0F52
square
#520F24 #46520F #0F523D #1C0F52
split-complementary
#520F24 #0F521C #0F4652
monochromatic
#1A050B #1E060D #520F24 #86183B #B92251

Accessibility & contrast

On white

14.46
#520F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F24
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F24#FFFFFF#000000##FFFFFF
##520F241.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202124
Deuteranopia (green-blind)
#312E22
Tritanopia (blue-blind)
#5A0118
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f24;
/* rgb */ color: rgb(82, 15, 36);
/* oklch */ color: oklch(29.6% 0.098 7.1);
Tailwind
colors: {
  custom: {
    50: '#87545e',
    500: '#520f24',
    950: '#000000',
  },
}
SCSS
$custom: #520f24;
$custom-light: #87545e;
$custom-dark: #000000;
JSON
{
  "hex": "#520f24",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 36
  },
  "hsl": {
    "h": 341.194,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29559,
    "c": 0.09843,
    "h": 7.1
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#520F24
secondary
#318C6F
accent
#ECB53C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #520F24

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

Preview Lab → · Contrast checker → · Palette generator →

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