#520F32#520F32

#520F32 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.104 H 353.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#520F32
RGBrgb(82, 15, 50)
HSLhsl(329, 69%, 19%)
HSVhsv(329, 82%, 32%)
CMYKcmyk(0%, 81.7%, 39%, 67.8%)
CIE-LABlab(17.30, 33.59, -4.63)
CIE-LCHlch(17.30, 33.91, 352.15°)
OKLaboklab(30.08% 0.1031 -0.0118)
OKLCHoklch(30.08% 0.104 353.5)
XYZxyz(4.2265, 2.3663, 3.2512)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F32 #0F522F
analogous
#510F52 #520F32 #520F11
triadic
#520F32 #32520F #0F3252
tetradic
#520F32 #52510F #0F522F #0F1152
square
#520F32 #52510F #0F522F #0F1152
split-complementary
#520F32 #11520F #0F5251
monochromatic
#1A0510 #1E0612 #520F32 #861852 #B92271

Accessibility & contrast

On white

14.25
#520F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#520F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F32
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F32#FFFFFF#000000##FFFFFF
##520F321.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2333
Deuteranopia (green-blind)
#2E2F30
Tritanopia (blue-blind)
#59081F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f32;
/* rgb */ color: rgb(82, 15, 50);
/* oklch */ color: oklch(30.1% 0.104 353.5);
Tailwind
colors: {
  custom: {
    50: '#865569',
    500: '#520f32',
    950: '#000000',
  },
}
SCSS
$custom: #520f32;
$custom-light: #865569;
$custom-dark: #000000;
JSON
{
  "hex": "#520f32",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 328.657,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30079,
    "c": 0.10373,
    "h": 353.5
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#520F32
secondary
#318C5C
accent
#EC903C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #520F32

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

Preview Lab → · Contrast checker → · Palette generator →

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