#521612#521612

#521612 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.090 H 27.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#521612
RGBrgb(82, 22, 18)
HSLhsl(4, 64%, 20%)
HSVhsv(4, 78%, 32%)
CMYKcmyk(0%, 73.2%, 78%, 67.8%)
CIE-LABlab(17.52, 27.64, 18.28)
CIE-LCHlch(17.52, 33.14, 33.47°)
OKLaboklab(29.95% 0.08 0.0419)
OKLCHoklch(29.95% 0.09 27.7)
XYZxyz(3.8762, 2.4119, 0.8336)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521612 #124E52
analogous
#52122E #521612 #523612
triadic
#521612 #125216 #161252
tetradic
#521612 #2E5212 #124E52 #361252
square
#521612 #2E5212 #124E52 #361252
split-complementary
#521612 #125236 #122E52
monochromatic
#190706 #200907 #521612 #84231D #B63128

Accessibility & contrast

On white

14.17
#521612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521612
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521612#FFFFFF#000000##FFFFFF
##5216121.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#5B0616
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521612;
/* rgb */ color: rgb(82, 22, 18);
/* oklch */ color: oklch(30.0% 0.090 27.7);
Tailwind
colors: {
  custom: {
    50: '#885750',
    500: '#521612',
    950: '#000000',
  },
}
SCSS
$custom: #521612;
$custom-light: #885750;
$custom-dark: #000000;
JSON
{
  "hex": "#521612",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 18
  },
  "hsl": {
    "h": 3.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.09028,
    "h": 27.7
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#521612
secondary
#35858B
accent
#DDE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521612

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

Preview Lab → · Contrast checker → · Palette generator →

#521612 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva