#521F0B#521F0B

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

Color values

HEX#521F0B
RGBrgb(82, 31, 11)
HSLhsl(17, 76%, 18%)
HSVhsv(17, 87%, 32%)
CMYKcmyk(0%, 62.2%, 86.6%, 67.8%)
CIE-LABlab(19.22, 22.56, 23.92)
CIE-LCHlch(19.22, 32.88, 46.68°)
OKLaboklab(31.21% 0.0627 0.0533)
OKLCHoklch(31.21% 0.082 40.4)
XYZxyz(4.0305, 2.7985, 0.6445)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521F0B #0B3E52
analogous
#520B1B #521F0B #52420B
triadic
#521F0B #0B521F #1F0B52
tetradic
#521F0B #1B520B #0B3E52 #420B52
square
#521F0B #1B520B #0B3E52 #420B52
split-complementary
#521F0B #0B5242 #0B1B52
monochromatic
#1B0A04 #1C0B04 #521F0B #883312 #BE4819

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521F0B#FFFFFF#000000##FFFFFF
##521F0B1.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)
#2D2808
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#5B131B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521f0b;
/* rgb */ color: rgb(82, 31, 11);
/* oklch */ color: oklch(31.2% 0.082 40.4);
Tailwind
colors: {
  custom: {
    50: '#885c4c',
    500: '#521f0b',
    950: '#000000',
  },
}
SCSS
$custom: #521f0b;
$custom-light: #885c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#521f0b",
  "rgb": {
    "r": 82,
    "g": 31,
    "b": 11
  },
  "hsl": {
    "h": 16.901,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3121,
    "c": 0.08227,
    "h": 40.4
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#521F0B
secondary
#2B728E
accent
#BDF335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #521F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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