#521412#521412

#521412 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 26.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#521412
RGBrgb(82, 20, 18)
HSLhsl(2, 64%, 20%)
HSVhsv(2, 78%, 32%)
CMYKcmyk(0%, 75.6%, 78%, 67.8%)
CIE-LABlab(17.17, 28.58, 17.86)
CIE-LCHlch(17.17, 33.70, 32.00°)
OKLaboklab(29.7% 0.0829 0.0411)
OKLCHoklch(29.7% 0.093 26.3)
XYZxyz(3.8394, 2.3384, 0.8213)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521412 #125052
analogous
#521230 #521412 #523412
triadic
#521412 #125214 #141252
tetradic
#521412 #305212 #125052 #341252
square
#521412 #305212 #125052 #341252
split-complementary
#521412 #125234 #123052
monochromatic
#190606 #200807 #521412 #84201D #B62C28

Accessibility & contrast

On white

14.31
#521412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521412
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521412#FFFFFF#000000##FFFFFF
##5214121.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5B0314
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521412;
/* rgb */ color: rgb(82, 20, 18);
/* oklch */ color: oklch(29.7% 0.093 26.3);
Tailwind
colors: {
  custom: {
    50: '#885650',
    500: '#521412',
    950: '#000000',
  },
}
SCSS
$custom: #521412;
$custom-light: #885650;
$custom-dark: #000000;
JSON
{
  "hex": "#521412",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 18
  },
  "hsl": {
    "h": 1.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29695,
    "c": 0.09252,
    "h": 26.3
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#521412
secondary
#35888B
accent
#E2E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521412

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

Preview Lab → · Contrast checker → · Palette generator →

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