#520E1D#520E1D

#520E1D is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.099 H 13.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#520E1D
RGBrgb(82, 14, 29)
HSLhsl(347, 71%, 19%)
HSVhsv(347, 83%, 32%)
CMYKcmyk(0%, 82.9%, 64.6%, 67.8%)
CIE-LABlab(16.49, 31.81, 9.35)
CIE-LCHlch(16.49, 33.15, 16.38°)
OKLaboklab(29.26% 0.0958 0.0231)
OKLCHoklch(29.26% 0.099 13.6)
XYZxyz(3.8589, 2.1972, 1.3831)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520E1D #0E5243
analogous
#520E3F #520E1D #52210E
triadic
#520E1D #1D520E #0E1D52
tetradic
#520E1D #3F520E #0E5243 #210E52
square
#520E1D #3F520E #0E5243 #210E52
split-complementary
#520E1D #0E5221 #0E3F52
monochromatic
#1A0409 #1E050B #520E1D #86172F #BB2042

Accessibility & contrast

On white

14.59
#520E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520E1D
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520E1D#FFFFFF#000000##FFFFFF
##520E1D1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201D
Deuteranopia (green-blind)
#322E1B
Tritanopia (blue-blind)
#5A0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520e1d;
/* rgb */ color: rgb(82, 14, 29);
/* oklch */ color: oklch(29.3% 0.099 13.6);
Tailwind
colors: {
  custom: {
    50: '#885458',
    500: '#520e1d',
    950: '#000000',
  },
}
SCSS
$custom: #520e1d;
$custom-light: #885458;
$custom-dark: #000000;
JSON
{
  "hex": "#520e1d",
  "rgb": {
    "r": 82,
    "g": 14,
    "b": 29
  },
  "hsl": {
    "h": 346.765,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.0985,
    "h": 13.6
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#520E1D
secondary
#2F8C78
accent
#EEC63A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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