#521714#521714

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

Color values

HEX#521714
RGBrgb(82, 23, 20)
HSLhsl(3, 61%, 20%)
HSVhsv(3, 76%, 32%)
CMYKcmyk(0%, 72%, 75.6%, 67.8%)
CIE-LABlab(17.73, 27.27, 17.26)
CIE-LCHlch(17.73, 32.27, 32.33°)
OKLaboklab(30.12% 0.0793 0.0399)
OKLCHoklch(30.12% 0.089 26.7)
XYZxyz(3.9127, 2.4577, 0.9300)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521714 #144F52
analogous
#521430 #521714 #523614
triadic
#521714 #145217 #171452
tetradic
#521714 #305214 #144F52 #361452
square
#521714 #305214 #144F52 #361452
split-complementary
#521714 #145236 #143052
monochromatic
#190706 #210908 #521714 #832520 #B4332C

Accessibility & contrast

On white

14.08
#521714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521714
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521714#FFFFFF#000000##FFFFFF
##5217141.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272313
Deuteranopia (green-blind)
#363012
Tritanopia (blue-blind)
#5B0817
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521714;
/* rgb */ color: rgb(82, 23, 20);
/* oklch */ color: oklch(30.1% 0.089 26.7);
Tailwind
colors: {
  custom: {
    50: '#885851',
    500: '#521714',
    950: '#000000',
  },
}
SCSS
$custom: #521714;
$custom-light: #885851;
$custom-dark: #000000;
JSON
{
  "hex": "#521714",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 20
  },
  "hsl": {
    "h": 2.903,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30121,
    "c": 0.08875,
    "h": 26.7
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#521714
secondary
#38868A
accent
#DCE444
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521714

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

Preview Lab → · Contrast checker → · Palette generator →

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