#521512#521512

#521512 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.091 H 27.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#521512
RGBrgb(82, 21, 18)
HSLhsl(3, 64%, 20%)
HSVhsv(3, 78%, 32%)
CMYKcmyk(0%, 74.4%, 78%, 67.8%)
CIE-LABlab(17.34, 28.12, 18.06)
CIE-LCHlch(17.34, 33.42, 32.72°)
OKLaboklab(29.82% 0.0815 0.0415)
OKLCHoklch(29.82% 0.091 27)
XYZxyz(3.8574, 2.3744, 0.8273)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521512 #124F52
analogous
#52122F #521512 #523512
triadic
#521512 #125215 #151252
tetradic
#521512 #2F5212 #124F52 #351252
square
#521512 #2F5212 #124F52 #351252
split-complementary
#521512 #125235 #122F52
monochromatic
#190606 #200807 #521512 #84221D #B62F28

Accessibility & contrast

On white

14.24
#521512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521512
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521512#FFFFFF#000000##FFFFFF
##5215121.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521512;
/* rgb */ color: rgb(82, 21, 18);
/* oklch */ color: oklch(29.8% 0.091 27.0);
Tailwind
colors: {
  custom: {
    50: '#885750',
    500: '#521512',
    950: '#000000',
  },
}
SCSS
$custom: #521512;
$custom-light: #885750;
$custom-dark: #000000;
JSON
{
  "hex": "#521512",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 2.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29822,
    "c": 0.0914,
    "h": 27
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#521512
secondary
#35878B
accent
#DFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521512

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

Preview Lab → · Contrast checker → · Palette generator →

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