#520F1D#520F1D

#520F1D is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.097 H 14.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#520F1D
RGBrgb(82, 15, 29)
HSLhsl(347, 69%, 19%)
HSVhsv(347, 82%, 32%)
CMYKcmyk(0%, 81.7%, 64.6%, 67.8%)
CIE-LABlab(16.63, 31.43, 9.53)
CIE-LCHlch(16.63, 32.84, 16.88°)
OKLaboklab(29.36% 0.0945 0.0235)
OKLCHoklch(29.36% 0.097 14)
XYZxyz(3.8727, 2.2248, 1.3877)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F1D #0F5244
analogous
#520F3F #520F1D #52230F
triadic
#520F1D #1D520F #0F1D52
tetradic
#520F1D #3F520F #0F5244 #230F52
square
#520F1D #3F520F #0F5244 #230F52
split-complementary
#520F1D #0F5223 #0F3F52
monochromatic
#1A0509 #1E060B #520F1D #86182F #B92242

Accessibility & contrast

On white

14.53
#520F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F1D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F1D#FFFFFF#000000##FFFFFF
##520F1D1.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #520f1d;
/* rgb */ color: rgb(82, 15, 29);
/* oklch */ color: oklch(29.4% 0.097 14.0);
Tailwind
colors: {
  custom: {
    50: '#885458',
    500: '#520f1d',
    950: '#000000',
  },
}
SCSS
$custom: #520f1d;
$custom-light: #885458;
$custom-dark: #000000;
JSON
{
  "hex": "#520f1d",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 347.463,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.09742,
    "h": 14
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#520F1D
secondary
#318C79
accent
#ECC73C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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