#520F3A#520F3A

#520F3A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.4% C 0.108 H 346.2°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#520F3A
RGBrgb(82, 15, 58)
HSLhsl(321, 69%, 19%)
HSVhsv(321, 82%, 32%)
CMYKcmyk(0%, 81.7%, 29.3%, 67.8%)
CIE-LABlab(17.65, 34.68, -9.77)
CIE-LCHlch(17.65, 36.03, 344.26°)
OKLaboklab(30.45% 0.1053 -0.0259)
OKLCHoklch(30.45% 0.108 346.2)
XYZxyz(4.4144, 2.4415, 4.2409)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F3A #0F5227
analogous
#490F52 #520F3A #520F19
triadic
#520F3A #3A520F #0F3A52
tetradic
#520F3A #52490F #0F5227 #0F1952
square
#520F3A #52490F #0F5227 #0F1952
split-complementary
#520F3A #19520F #0F5249
monochromatic
#1A0512 #1E0615 #520F3A #86185F #B92283

Accessibility & contrast

On white

14.11
#520F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F3A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F3A#FFFFFF#000000##FFFFFF
##520F3A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243B
Deuteranopia (green-blind)
#2C2F38
Tritanopia (blue-blind)
#580D23
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f3a;
/* rgb */ color: rgb(82, 15, 58);
/* oklch */ color: oklch(30.4% 0.108 346.2);
Tailwind
colors: {
  custom: {
    50: '#865570',
    500: '#520f3a',
    950: '#000000',
  },
}
SCSS
$custom: #520f3a;
$custom-light: #865570;
$custom-dark: #000000;
JSON
{
  "hex": "#520f3a",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 321.493,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30447,
    "c": 0.10845,
    "h": 346.2
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#520F3A
secondary
#318C51
accent
#EC7B3C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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