#520F3D#520F3D

#520F3D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.110 H 343.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#520F3D
RGBrgb(82, 15, 61)
HSLhsl(319, 69%, 19%)
HSVhsv(319, 82%, 32%)
CMYKcmyk(0%, 81.7%, 25.6%, 67.8%)
CIE-LABlab(17.80, 35.12, -11.66)
CIE-LCHlch(17.80, 37.00, 341.63°)
OKLaboklab(30.6% 0.106 -0.0312)
OKLCHoklch(30.6% 0.11 343.6)
XYZxyz(4.4930, 2.4729, 4.6547)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F3D #0F5224
analogous
#460F52 #520F3D #520F1C
triadic
#520F3D #3D520F #0F3D52
tetradic
#520F3D #52460F #0F5224 #0F1C52
square
#520F3D #52460F #0F5224 #0F1C52
split-complementary
#520F3D #1C520F #0F5246
monochromatic
#1A0513 #1E0617 #520F3D #861863 #B9228A

Accessibility & contrast

On white

14.05
#520F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#520F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520F3D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F3D#FFFFFF#000000##FFFFFF
##520F3D1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243E
Deuteranopia (green-blind)
#2B303B
Tritanopia (blue-blind)
#580F24
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520f3d;
/* rgb */ color: rgb(82, 15, 61);
/* oklch */ color: oklch(30.6% 0.110 343.6);
Tailwind
colors: {
  custom: {
    50: '#865572',
    500: '#520f3d',
    950: '#000000',
  },
}
SCSS
$custom: #520f3d;
$custom-light: #865572;
$custom-dark: #000000;
JSON
{
  "hex": "#520f3d",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 318.806,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30599,
    "c": 0.11047,
    "h": 343.6
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#520F3D
secondary
#318C4D
accent
#EC733C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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