#520B3E#520B3E

#520B3E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.116 H 342.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#520B3E
RGBrgb(82, 11, 62)
HSLhsl(317, 76%, 18%)
HSVhsv(317, 87%, 32%)
CMYKcmyk(0%, 86.6%, 24.4%, 67.8%)
CIE-LABlab(17.37, 36.61, -13.02)
CIE-LCHlch(17.37, 38.86, 340.43°)
OKLaboklab(30.31% 0.1103 -0.0349)
OKLCHoklch(30.31% 0.116 342.4)
XYZxyz(4.4690, 2.3815, 4.7808)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520B3E #0B521F
analogous
#420B52 #520B3E #520B1B
triadic
#520B3E #3E520B #0B3E52
tetradic
#520B3E #52420B #0B521F #0B1B52
square
#520B3E #52420B #0B521F #0B1B52
split-complementary
#520B3E #1B520B #0B5242
monochromatic
#1B0414 #1C0415 #520B3E #881267 #BE1990

Accessibility & contrast

On white

14.23
#520B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#520B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520B3E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520B3E#FFFFFF#000000##FFFFFF
##520B3E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#2A2F3C
Tritanopia (blue-blind)
#580C24
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #520b3e;
/* rgb */ color: rgb(82, 11, 62);
/* oklch */ color: oklch(30.3% 0.116 342.4);
Tailwind
colors: {
  custom: {
    50: '#865473',
    500: '#520b3e',
    950: '#000000',
  },
}
SCSS
$custom: #520b3e;
$custom-light: #865473;
$custom-dark: #000000;
JSON
{
  "hex": "#520b3e",
  "rgb": {
    "r": 82,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 316.901,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3031,
    "c": 0.11572,
    "h": 342.4
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#520B3E
secondary
#2B8E47
accent
#F36A35
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #520B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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