#520F1C#520F1C

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

Color values

HEX#520F1C
RGBrgb(82, 15, 28)
HSLhsl(348, 69%, 19%)
HSVhsv(348, 82%, 32%)
CMYKcmyk(0%, 81.7%, 65.9%, 67.8%)
CIE-LABlab(16.60, 31.35, 10.22)
CIE-LCHlch(16.60, 32.97, 18.06°)
OKLaboklab(29.33% 0.0941 0.025)
OKLCHoklch(29.33% 0.097 14.9)
XYZxyz(3.8605, 2.2199, 1.3236)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#520F1C #0F5245
analogous
#520F3E #520F1C #52240F
triadic
#520F1C #1C520F #0F1C52
tetradic
#520F1C #3E520F #0F5245 #240F52
square
#520F1C #3E520F #0F5245 #240F52
split-complementary
#520F1C #0F5224 #0F3E52
monochromatic
#1A0509 #1E060A #520F1C #86182E #B9223F

Accessibility & contrast

On white

14.54
#520F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #520F1C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##520F1C#FFFFFF#000000##FFFFFF
##520F1C1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201C
Deuteranopia (green-blind)
#322E1A
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #520f1c;
/* rgb */ color: rgb(82, 15, 28);
/* oklch */ color: oklch(29.3% 0.097 14.9);
Tailwind
colors: {
  custom: {
    50: '#885457',
    500: '#520f1c',
    950: '#000000',
  },
}
SCSS
$custom: #520f1c;
$custom-light: #885457;
$custom-dark: #000000;
JSON
{
  "hex": "#520f1c",
  "rgb": {
    "r": 82,
    "g": 15,
    "b": 28
  },
  "hsl": {
    "h": 348.358,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29333,
    "c": 0.09736,
    "h": 14.9
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#520F1C
secondary
#318C7A
accent
#ECCA3C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #520F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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