#520E2B#520E2B

#520E2B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.102 H 359.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#520E2B
RGBrgb(82, 14, 43)
HSLhsl(334, 71%, 19%)
HSVhsv(334, 83%, 32%)
CMYKcmyk(0%, 82.9%, 47.6%, 67.8%)
CIE-LABlab(16.91, 33.13, -0.19)
CIE-LCHlch(16.91, 33.13, 359.67°)
OKLaboklab(29.7% 0.1017 -0.0001)
OKLCHoklch(29.7% 0.102 359.9)
XYZxyz(4.0731, 2.2829, 2.5112)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E2B #0E5235
analogous
#520E4D #520E2B #52130E
triadic
#520E2B #2B520E #0E2B52
tetradic
#520E2B #4D520E #0E5235 #130E52
square
#520E2B #4D520E #0E5235 #130E52
split-complementary
#520E2B #0E5213 #0E4D52
monochromatic
#1A040E #1E0510 #520E2B #861746 #BB2062

Accessibility & contrast

On white

14.42
#520E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#520E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #520E2B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E2B#FFFFFF#000000##FFFFFF
##520E2B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212C
Deuteranopia (green-blind)
#302E29
Tritanopia (blue-blind)
#5A031B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #520e2b;
/* rgb */ color: rgb(82, 14, 43);
/* oklch */ color: oklch(29.7% 0.102 359.9);
Tailwind
colors: {
  custom: {
    50: '#875464',
    500: '#520e2b',
    950: '#000000',
  },
}
SCSS
$custom: #520e2b;
$custom-light: #875464;
$custom-dark: #000000;
JSON
{
  "hex": "#520e2b",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 334.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.10174,
    "h": 359.9
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#520E2B
secondary
#2F8C65
accent
#EEA13A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #520E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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