#520B46#520B46

#520B46 is a dark, vivid pink. Relative luminance 0.025; OKLCH L 30.8% C 0.122 H 336.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#520B46
RGBrgb(82, 11, 70)
HSLhsl(310, 76%, 18%)
HSVhsv(310, 87%, 32%)
CMYKcmyk(0%, 86.6%, 14.6%, 67.8%)
CIE-LABlab(17.81, 37.86, -17.91)
CIE-LCHlch(17.81, 41.88, 334.68°)
OKLaboklab(30.76% 0.1113 -0.0489)
OKLCHoklch(30.76% 0.122 336.3)
XYZxyz(4.7049, 2.4758, 6.0233)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B46 #0B5217
analogous
#3A0B52 #520B46 #520B22
triadic
#520B46 #46520B #0B4652
tetradic
#520B46 #523A0B #0B5217 #0B2252
square
#520B46 #523A0B #0B5217 #0B2252
split-complementary
#520B46 #22520B #0B523A
monochromatic
#1B0417 #1C0418 #520B46 #881274 #BE19A2

Accessibility & contrast

On white

14.05
#520B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#520B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B46
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B46#FFFFFF#000000##FFFFFF
##520B461.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#272F44
Tritanopia (blue-blind)
#571128
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #520b46;
/* rgb */ color: rgb(82, 11, 70);
/* oklch */ color: oklch(30.8% 0.122 336.3);
Tailwind
colors: {
  custom: {
    50: '#865479',
    500: '#520b46',
    950: '#000000',
  },
}
SCSS
$custom: #520b46;
$custom-light: #865479;
$custom-dark: #000000;
JSON
{
  "hex": "#520b46",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 310.141,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30765,
    "c": 0.12158,
    "h": 336.3
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#520B46
secondary
#2B8E3C
accent
#F35535
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #520B46

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

Preview Lab → · Contrast checker → · Palette generator →

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