#520B1E#520B1E

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

Color values

HEX#520B1E
RGBrgb(82, 11, 30)
HSLhsl(344, 76%, 18%)
HSVhsv(344, 87%, 32%)
CMYKcmyk(0%, 86.6%, 63.4%, 67.8%)
CIE-LABlab(16.14, 32.93, 8.16)
CIE-LCHlch(16.14, 33.93, 13.91°)
OKLaboklab(29.01% 0.0996 0.0203)
OKLCHoklch(29.01% 0.102 11.5)
XYZxyz(3.8341, 2.1275, 1.4368)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B1E #0B523F
analogous
#520B41 #520B1E #521B0B
triadic
#520B1E #1E520B #0B1E52
tetradic
#520B1E #41520B #0B523F #1B0B52
square
#520B1E #41520B #0B523F #1B0B52
split-complementary
#520B1E #0B521B #0B4152
monochromatic
#1B040A #1C040A #520B1E #881232 #BE1945

Accessibility & contrast

On white

14.73
#520B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#520B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B1E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B1E#FFFFFF#000000##FFFFFF
##520B1E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1E
Deuteranopia (green-blind)
#312D1C
Tritanopia (blue-blind)
#5A0013
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #520b1e;
/* rgb */ color: rgb(82, 11, 30);
/* oklch */ color: oklch(29.0% 0.102 11.5);
Tailwind
colors: {
  custom: {
    50: '#885359',
    500: '#520b1e',
    950: '#000000',
  },
}
SCSS
$custom: #520b1e;
$custom-light: #885359;
$custom-dark: #000000;
JSON
{
  "hex": "#520b1e",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 30
  },
  "hsl": {
    "h": 343.944,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.10164,
    "h": 11.5
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#520B1E
secondary
#2B8E73
accent
#F3C035
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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