#521115#521115

#521115 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.095 H 22.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#521115
RGBrgb(82, 17, 21)
HSLhsl(356, 66%, 19%)
HSVhsv(356, 79%, 32%)
CMYKcmyk(0%, 79.3%, 74.4%, 67.8%)
CIE-LABlab(16.75, 30.06, 15.39)
CIE-LCHlch(16.75, 33.77, 27.11°)
OKLaboklab(29.39% 0.0884 0.036)
OKLCHoklch(29.39% 0.095 22.1)
XYZxyz(3.8159, 2.2494, 0.9426)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521115 #11524E
analogous
#521136 #521115 #522E11
triadic
#521115 #155211 #111552
tetradic
#521115 #365211 #11524E #2E1152
square
#521115 #365211 #11524E #2E1152
split-complementary
#521115 #11522E #113652
monochromatic
#190506 #1F0608 #521115 #851C22 #B7262F

Accessibility & contrast

On white

14.48
#521115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#521115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521115
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521115#FFFFFF#000000##FFFFFF
##5211151.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232015
Deuteranopia (green-blind)
#342E13
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521115;
/* rgb */ color: rgb(82, 17, 21);
/* oklch */ color: oklch(29.4% 0.095 22.1);
Tailwind
colors: {
  custom: {
    50: '#885552',
    500: '#521115',
    950: '#000000',
  },
}
SCSS
$custom: #521115;
$custom-light: #885552;
$custom-dark: #000000;
JSON
{
  "hex": "#521115",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 21
  },
  "hsl": {
    "h": 356.308,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29394,
    "c": 0.09538,
    "h": 22.1
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#521115
secondary
#348B86
accent
#E9DE3F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521115

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

Preview Lab → · Contrast checker → · Palette generator →

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