#520F3B#520F3B

#520F3B is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.109 H 345.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#520F3B
RGBrgb(82, 15, 59)
HSLhsl(321, 69%, 19%)
HSVhsv(321, 82%, 32%)
CMYKcmyk(0%, 81.7%, 28%, 67.8%)
CIE-LABlab(17.70, 34.82, -10.41)
CIE-LCHlch(17.70, 36.34, 343.36°)
OKLaboklab(30.5% 0.1056 -0.0277)
OKLCHoklch(30.5% 0.109 345.3)
XYZxyz(4.4401, 2.4517, 4.3762)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F3B #0F5226
analogous
#480F52 #520F3B #520F1A
triadic
#520F3B #3B520F #0F3B52
tetradic
#520F3B #52480F #0F5226 #0F1A52
square
#520F3B #52480F #0F5226 #0F1A52
split-complementary
#520F3B #1A520F #0F5248
monochromatic
#1A0513 #1E0616 #520F3B #861860 #B92285

Accessibility & contrast

On white

14.09
#520F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F3B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F3B#FFFFFF#000000##FFFFFF
##520F3B1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#2C2F39
Tritanopia (blue-blind)
#580E23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f3b;
/* rgb */ color: rgb(82, 15, 59);
/* oklch */ color: oklch(30.5% 0.109 345.3);
Tailwind
colors: {
  custom: {
    50: '#865571',
    500: '#520f3b',
    950: '#000000',
  },
}
SCSS
$custom: #520f3b;
$custom-light: #865571;
$custom-dark: #000000;
JSON
{
  "hex": "#520f3b",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 320.597,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.10911,
    "h": 345.3
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#520F3B
secondary
#318C50
accent
#EC783C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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