#521F0D#521F0D

#521F0D is a dark, moderate orange. Relative luminance 0.028; OKLCH L 31.2% C 0.082 H 39.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#521F0D
RGBrgb(82, 31, 13)
HSLhsl(16, 73%, 19%)
HSVhsv(16, 84%, 32%)
CMYKcmyk(0%, 62.2%, 84.1%, 67.8%)
CIE-LABlab(19.24, 22.64, 23.03)
CIE-LCHlch(19.24, 32.30, 45.49°)
OKLaboklab(31.23% 0.0633 0.0515)
OKLCHoklch(31.23% 0.082 39.1)
XYZxyz(4.0427, 2.8034, 0.7089)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521F0D #0D4052
analogous
#520D1D #521F0D #52410D
triadic
#521F0D #0D521F #1F0D52
tetradic
#521F0D #1D520D #0D4052 #410D52
square
#521F0D #1D520D #0D4052 #410D52
split-complementary
#521F0D #0D5241 #0D1D52
monochromatic
#1A0A04 #1D0B05 #521F0D #873315 #BC471E

Accessibility & contrast

On white

13.46
#521F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#521F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521F0D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521F0D#FFFFFF#000000##FFFFFF
##521F0D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280B
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#5B131B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521f0d;
/* rgb */ color: rgb(82, 31, 13);
/* oklch */ color: oklch(31.2% 0.082 39.1);
Tailwind
colors: {
  custom: {
    50: '#885c4d',
    500: '#521f0d',
    950: '#000000',
  },
}
SCSS
$custom: #521f0d;
$custom-light: #885c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#521f0d",
  "rgb": {
    "r": 82,
    "g": 31,
    "b": 13
  },
  "hsl": {
    "h": 15.652,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31232,
    "c": 0.08163,
    "h": 39.1
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#521F0D
secondary
#2E748D
accent
#C0EF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #521F0D

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

Preview Lab → · Contrast checker → · Palette generator →

#521F0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva