#520B27#520B27

#520B27 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.104 H 3.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#520B27
RGBrgb(82, 11, 39)
HSLhsl(336, 76%, 18%)
HSVhsv(336, 87%, 32%)
CMYKcmyk(0%, 86.6%, 52.4%, 67.8%)
CIE-LABlab(16.41, 33.74, 1.97)
CIE-LCHlch(16.41, 33.80, 3.35°)
OKLaboklab(29.29% 0.1035 0.0054)
OKLCHoklch(29.29% 0.104 3)
XYZxyz(3.9659, 2.1802, 2.1311)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B27 #0B5236
analogous
#520B4A #520B27 #52120B
triadic
#520B27 #27520B #0B2752
tetradic
#520B27 #4A520B #0B5236 #120B52
square
#520B27 #4A520B #0B5236 #120B52
split-complementary
#520B27 #0B5212 #0B4A52
monochromatic
#1B040D #1C040D #520B27 #881241 #BE195A

Accessibility & contrast

On white

14.62
#520B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#520B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B27
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B27#FFFFFF#000000##FFFFFF
##520B271.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2028
Deuteranopia (green-blind)
#302E25
Tritanopia (blue-blind)
#5A0018
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520b27;
/* rgb */ color: rgb(82, 11, 39);
/* oklch */ color: oklch(29.3% 0.104 3.0);
Tailwind
colors: {
  custom: {
    50: '#875360',
    500: '#520b27',
    950: '#000000',
  },
}
SCSS
$custom: #520b27;
$custom-light: #875360;
$custom-dark: #000000;
JSON
{
  "hex": "#520b27",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 39
  },
  "hsl": {
    "h": 336.338,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29289,
    "c": 0.10362,
    "h": 3
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#520B27
secondary
#2B8E67
accent
#F3A835
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520B27

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

Preview Lab → · Contrast checker → · Palette generator →

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