#521511#521511

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

Color values

HEX#521511
RGBrgb(82, 21, 17)
HSLhsl(4, 66%, 19%)
HSVhsv(4, 79%, 32%)
CMYKcmyk(0%, 74.4%, 79.3%, 67.8%)
CIE-LABlab(17.33, 28.06, 18.64)
CIE-LCHlch(17.33, 33.69, 33.60°)
OKLaboklab(29.81% 0.081 0.0427)
OKLCHoklch(29.81% 0.092 27.8)
XYZxyz(3.8494, 2.3712, 0.7852)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521511 #114E52
analogous
#52112E #521511 #523611
triadic
#521511 #115215 #151152
tetradic
#521511 #2E5211 #114E52 #361152
square
#521511 #2E5211 #114E52 #361152
split-complementary
#521511 #115236 #112E52
monochromatic
#190605 #1F0806 #521511 #85221C #B72F26

Accessibility & contrast

On white

14.25
#521511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521511
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521511#FFFFFF#000000##FFFFFF
##5215111.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521511;
/* rgb */ color: rgb(82, 21, 17);
/* oklch */ color: oklch(29.8% 0.092 27.8);
Tailwind
colors: {
  custom: {
    50: '#88574f',
    500: '#521511',
    950: '#000000',
  },
}
SCSS
$custom: #521511;
$custom-light: #88574f;
$custom-dark: #000000;
JSON
{
  "hex": "#521511",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 17
  },
  "hsl": {
    "h": 3.692,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29806,
    "c": 0.09159,
    "h": 27.8
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#521511
secondary
#34868B
accent
#DEE93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521511

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

Preview Lab → · Contrast checker → · Palette generator →

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