#520F3C#520F3C

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

Color values

HEX#520F3C
RGBrgb(82, 15, 60)
HSLhsl(320, 69%, 19%)
HSVhsv(320, 82%, 32%)
CMYKcmyk(0%, 81.7%, 26.8%, 67.8%)
CIE-LABlab(17.75, 34.97, -11.04)
CIE-LCHlch(17.75, 36.67, 342.48°)
OKLaboklab(30.55% 0.1058 -0.0294)
OKLCHoklch(30.55% 0.11 344.5)
XYZxyz(4.4663, 2.4622, 4.5141)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F3C #0F5225
analogous
#470F52 #520F3C #520F1B
triadic
#520F3C #3C520F #0F3C52
tetradic
#520F3C #52470F #0F5225 #0F1B52
square
#520F3C #52470F #0F5225 #0F1B52
split-complementary
#520F3C #1B520F #0F5247
monochromatic
#1A0513 #1E0616 #520F3C #861862 #B92288

Accessibility & contrast

On white

14.07
#520F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F3C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F3C#FFFFFF#000000##FFFFFF
##520F3C1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243D
Deuteranopia (green-blind)
#2C2F3A
Tritanopia (blue-blind)
#580E24
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520f3c;
/* rgb */ color: rgb(82, 15, 60);
/* oklch */ color: oklch(30.5% 0.110 344.5);
Tailwind
colors: {
  custom: {
    50: '#865571',
    500: '#520f3c',
    950: '#000000',
  },
}
SCSS
$custom: #520f3c;
$custom-light: #865571;
$custom-dark: #000000;
JSON
{
  "hex": "#520f3c",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 319.701,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.10979,
    "h": 344.5
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#520F3C
secondary
#318C4F
accent
#EC763C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #520F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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