#521311#521311

#521311 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.094 H 26.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#521311
RGBrgb(82, 19, 17)
HSLhsl(2, 66%, 19%)
HSVhsv(2, 79%, 32%)
CMYKcmyk(0%, 76.8%, 79.3%, 67.8%)
CIE-LABlab(16.99, 28.97, 18.23)
CIE-LCHlch(16.99, 34.23, 32.18°)
OKLaboklab(29.56% 0.0839 0.0418)
OKLCHoklch(29.56% 0.094 26.5)
XYZxyz(3.8141, 2.3006, 0.7734)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521311 #115052
analogous
#521130 #521311 #523411
triadic
#521311 #115213 #131152
tetradic
#521311 #305211 #115052 #341152
square
#521311 #305211 #115052 #341152
split-complementary
#521311 #115234 #113052
monochromatic
#190605 #1F0706 #521311 #851F1C #B72A26

Accessibility & contrast

On white

14.38
#521311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521311
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521311#FFFFFF#000000##FFFFFF
##5213111.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252110
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#5B0113
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521311;
/* rgb */ color: rgb(82, 19, 17);
/* oklch */ color: oklch(29.6% 0.094 26.5);
Tailwind
colors: {
  custom: {
    50: '#89564f',
    500: '#521311',
    950: '#000000',
  },
}
SCSS
$custom: #521311;
$custom-light: #89564f;
$custom-dark: #000000;
JSON
{
  "hex": "#521311",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 17
  },
  "hsl": {
    "h": 1.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29556,
    "c": 0.09376,
    "h": 26.5
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#521311
secondary
#34898B
accent
#E3E93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521311

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

Preview Lab → · Contrast checker → · Palette generator →

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