#520B41#520B41

#520B41 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.5% C 0.118 H 340.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#520B41
RGBrgb(82, 11, 65)
HSLhsl(314, 76%, 18%)
HSVhsv(314, 87%, 32%)
CMYKcmyk(0%, 86.6%, 20.7%, 67.8%)
CIE-LABlab(17.53, 37.07, -14.87)
CIE-LCHlch(17.53, 39.94, 338.14°)
OKLaboklab(30.48% 0.1108 -0.0402)
OKLCHoklch(30.48% 0.118 340.1)
XYZxyz(4.5536, 2.4153, 5.2264)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B41 #0B521C
analogous
#3F0B52 #520B41 #520B1D
triadic
#520B41 #41520B #0B4152
tetradic
#520B41 #523F0B #0B521C #0B1D52
square
#520B41 #523F0B #0B521C #0B1D52
split-complementary
#520B41 #1D520B #0B523F
monochromatic
#1B0415 #1C0416 #520B41 #88126C #BE1997

Accessibility & contrast

On white

14.16
#520B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520B41
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B41#FFFFFF#000000##FFFFFF
##520B411.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112442
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#570E25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520b41;
/* rgb */ color: rgb(82, 11, 65);
/* oklch */ color: oklch(30.5% 0.118 340.1);
Tailwind
colors: {
  custom: {
    50: '#865475',
    500: '#520b41',
    950: '#000000',
  },
}
SCSS
$custom: #520b41;
$custom-light: #865475;
$custom-dark: #000000;
JSON
{
  "hex": "#520b41",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 314.366,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30475,
    "c": 0.11785,
    "h": 340.1
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#520B41
secondary
#2B8E43
accent
#F36235
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520B41

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

Preview Lab → · Contrast checker → · Palette generator →

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