#520F0F#520F0F

#520F0F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.098 H 25.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#520F0F
RGBrgb(82, 15, 15)
HSLhsl(0, 69%, 19%)
HSVhsv(0, 82%, 32%)
CMYKcmyk(0%, 81.7%, 81.7%, 67.8%)
CIE-LABlab(16.36, 30.55, 18.56)
CIE-LCHlch(16.36, 35.75, 31.29°)
OKLaboklab(29.07% 0.0884 0.0427)
OKLCHoklch(29.07% 0.098 25.8)
XYZxyz(3.7372, 2.1706, 0.6740)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F0F #0F5252
analogous
#520F31 #520F0F #52310F
triadic
#520F0F #0F520F #0F0F52
tetradic
#520F0F #31520F #0F5252 #310F52
square
#520F0F #31520F #0F5252 #310F52
split-complementary
#520F0F #0F5231 #0F3152
monochromatic
#1A0505 #1E0606 #520F0F #861818 #B92222

Accessibility & contrast

On white

14.64
#520F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F0F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F0F#FFFFFF#000000##FFFFFF
##520F0F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0E
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#5B0010
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f0f;
/* rgb */ color: rgb(82, 15, 15);
/* oklch */ color: oklch(29.1% 0.098 25.8);
Tailwind
colors: {
  custom: {
    50: '#89544d',
    500: '#520f0f',
    950: '#000000',
  },
}
SCSS
$custom: #520f0f;
$custom-light: #89544d;
$custom-dark: #000000;
JSON
{
  "hex": "#520f0f",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 15
  },
  "hsl": {
    "h": 0,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29074,
    "c": 0.09815,
    "h": 25.8
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#520F0F
secondary
#318C8C
accent
#ECEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #520F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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