#521812#521812

#521812 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 29.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#521812
RGBrgb(82, 24, 18)
HSLhsl(6, 64%, 20%)
HSVhsv(6, 78%, 32%)
CMYKcmyk(0%, 70.7%, 78%, 67.8%)
CIE-LABlab(17.88, 26.66, 18.71)
CIE-LCHlch(17.88, 32.57, 35.07°)
OKLaboklab(30.23% 0.0769 0.0428)
OKLCHoklch(30.23% 0.088 29.1)
XYZxyz(3.9159, 2.4913, 0.8468)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521812 #124C52
analogous
#52122C #521812 #523812
triadic
#521812 #125218 #181252
tetradic
#521812 #2C5212 #124C52 #381252
square
#521812 #2C5212 #124C52 #381252
split-complementary
#521812 #125238 #122C52
monochromatic
#190706 #200907 #521812 #84271D #B63528

Accessibility & contrast

On white

14.02
#521812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521812
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521812#FFFFFF#000000##FFFFFF
##5218121.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282411
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#5B0917
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521812;
/* rgb */ color: rgb(82, 24, 18);
/* oklch */ color: oklch(30.2% 0.088 29.1);
Tailwind
colors: {
  custom: {
    50: '#885850',
    500: '#521812',
    950: '#000000',
  },
}
SCSS
$custom: #521812;
$custom-light: #885850;
$custom-dark: #000000;
JSON
{
  "hex": "#521812",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 5.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.088,
    "h": 29.1
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#521812
secondary
#35838B
accent
#D7E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521812

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

Preview Lab → · Contrast checker → · Palette generator →

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