#520B1D#520B1D

#520B1D is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.102 H 12.5°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#520B1D
RGBrgb(82, 11, 29)
HSLhsl(345, 76%, 18%)
HSVhsv(345, 87%, 32%)
CMYKcmyk(0%, 86.6%, 64.6%, 67.8%)
CIE-LABlab(16.12, 32.85, 8.85)
CIE-LCHlch(16.12, 34.03, 15.08°)
OKLaboklab(28.98% 0.0991 0.0219)
OKLCHoklch(28.98% 0.102 12.5)
XYZxyz(3.8215, 2.1225, 1.3706)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B1D #0B5240
analogous
#520B40 #520B1D #521C0B
triadic
#520B1D #1D520B #0B1D52
tetradic
#520B1D #40520B #0B5240 #1C0B52
square
#520B1D #40520B #0B5240 #1C0B52
split-complementary
#520B1D #0B521C #0B4052
monochromatic
#1B040A #1C040A #520B1D #881230 #BE1943

Accessibility & contrast

On white

14.74
#520B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#520B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B1D
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B1D#FFFFFF#000000##FFFFFF
##520B1D1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1D
Deuteranopia (green-blind)
#312D1B
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520b1d;
/* rgb */ color: rgb(82, 11, 29);
/* oklch */ color: oklch(29.0% 0.102 12.5);
Tailwind
colors: {
  custom: {
    50: '#885358',
    500: '#520b1d',
    950: '#000000',
  },
}
SCSS
$custom: #520b1d;
$custom-light: #885358;
$custom-dark: #000000;
JSON
{
  "hex": "#520b1d",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 29
  },
  "hsl": {
    "h": 344.789,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28983,
    "c": 0.10153,
    "h": 12.5
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#520B1D
secondary
#2B8E75
accent
#F3C335
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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