#521712#521712

#521712 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.089 H 28.4°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#521712
RGBrgb(82, 23, 18)
HSLhsl(5, 64%, 20%)
HSVhsv(5, 78%, 32%)
CMYKcmyk(0%, 72%, 78%, 67.8%)
CIE-LABlab(17.70, 27.16, 18.49)
CIE-LCHlch(17.70, 32.85, 34.25°)
OKLaboklab(30.09% 0.0784 0.0424)
OKLCHoklch(30.09% 0.089 28.4)
XYZxyz(3.8957, 2.4509, 0.8401)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521712 #124D52
analogous
#52122D #521712 #523712
triadic
#521712 #125217 #171252
tetradic
#521712 #2D5212 #124D52 #371252
square
#521712 #2D5212 #124D52 #371252
split-complementary
#521712 #125237 #122D52
monochromatic
#190706 #200907 #521712 #84251D #B63328

Accessibility & contrast

On white

14.09
#521712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521712
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521712#FFFFFF#000000##FFFFFF
##5217121.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521712;
/* rgb */ color: rgb(82, 23, 18);
/* oklch */ color: oklch(30.1% 0.089 28.4);
Tailwind
colors: {
  custom: {
    50: '#885850',
    500: '#521712',
    950: '#000000',
  },
}
SCSS
$custom: #521712;
$custom-light: #885850;
$custom-dark: #000000;
JSON
{
  "hex": "#521712",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 4.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30088,
    "c": 0.08914,
    "h": 28.4
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#521712
secondary
#35848B
accent
#DAE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521712

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

Preview Lab → · Contrast checker → · Palette generator →

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