#520B3F#520B3F

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

Color values

HEX#520B3F
RGBrgb(82, 11, 63)
HSLhsl(316, 76%, 18%)
HSVhsv(316, 87%, 32%)
CMYKcmyk(0%, 86.6%, 23.2%, 67.8%)
CIE-LABlab(17.43, 36.76, -13.64)
CIE-LCHlch(17.43, 39.21, 339.65°)
OKLaboklab(30.36% 0.1105 -0.0367)
OKLCHoklch(30.36% 0.116 341.6)
XYZxyz(4.4967, 2.3925, 4.9267)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B3F #0B521E
analogous
#410B52 #520B3F #520B1B
triadic
#520B3F #3F520B #0B3F52
tetradic
#520B3F #52410B #0B521E #0B1B52
square
#520B3F #52410B #0B521E #0B1B52
split-complementary
#520B3F #1B520B #0B5241
monochromatic
#1B0415 #1C0416 #520B3F #881268 #BE1992

Accessibility & contrast

On white

14.20
#520B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#520B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B3F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B3F#FFFFFF#000000##FFFFFF
##520B3F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122440
Deuteranopia (green-blind)
#292F3D
Tritanopia (blue-blind)
#580C24
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520b3f;
/* rgb */ color: rgb(82, 11, 63);
/* oklch */ color: oklch(30.4% 0.116 341.6);
Tailwind
colors: {
  custom: {
    50: '#865474',
    500: '#520b3f',
    950: '#000000',
  },
}
SCSS
$custom: #520b3f;
$custom-light: #865474;
$custom-dark: #000000;
JSON
{
  "hex": "#520b3f",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 316.056,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.11642,
    "h": 341.6
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#520B3F
secondary
#2B8E45
accent
#F36835
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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