#520B43#520B43

#520B43 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.6% C 0.119 H 338.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#520B43
RGBrgb(82, 11, 67)
HSLhsl(313, 76%, 18%)
HSVhsv(313, 87%, 32%)
CMYKcmyk(0%, 86.6%, 18.3%, 67.8%)
CIE-LABlab(17.64, 37.38, -16.10)
CIE-LCHlch(17.64, 40.70, 336.70°)
OKLaboklab(30.59% 0.111 -0.0437)
OKLCHoklch(30.59% 0.119 338.5)
XYZxyz(4.6126, 2.4389, 5.5369)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B43 #0B521A
analogous
#3D0B52 #520B43 #520B1F
triadic
#520B43 #43520B #0B4352
tetradic
#520B43 #523D0B #0B521A #0B1F52
square
#520B43 #523D0B #0B521A #0B1F52
split-complementary
#520B43 #1F520B #0B523D
monochromatic
#1B0416 #1C0417 #520B43 #88126F #BE199B

Accessibility & contrast

On white

14.12
#520B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520B43
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B43#FFFFFF#000000##FFFFFF
##520B431.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2444
Deuteranopia (green-blind)
#282F41
Tritanopia (blue-blind)
#570F26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520b43;
/* rgb */ color: rgb(82, 11, 67);
/* oklch */ color: oklch(30.6% 0.119 338.5);
Tailwind
colors: {
  custom: {
    50: '#865477',
    500: '#520b43',
    950: '#000000',
  },
}
SCSS
$custom: #520b43;
$custom-light: #865477;
$custom-dark: #000000;
JSON
{
  "hex": "#520b43",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 312.676,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.11932,
    "h": 338.5
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#520B43
secondary
#2B8E40
accent
#F35D35
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520B43

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

Preview Lab → · Contrast checker → · Palette generator →

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