#521415#521415

#521415 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.092 H 23.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#521415
RGBrgb(82, 20, 21)
HSLhsl(359, 61%, 20%)
HSVhsv(359, 76%, 32%)
CMYKcmyk(0%, 75.6%, 74.4%, 67.8%)
CIE-LABlab(17.22, 28.75, 15.97)
CIE-LCHlch(17.22, 32.89, 29.05°)
OKLaboklab(29.75% 0.0842 0.0372)
OKLCHoklch(29.75% 0.092 23.9)
XYZxyz(3.8656, 2.3489, 0.9591)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521415 #145251
analogous
#521434 #521415 #523214
triadic
#521415 #155214 #141552
tetradic
#521415 #345214 #145251 #321452
square
#521415 #345214 #145251 #321452
split-complementary
#521415 #145232 #143452
monochromatic
#190606 #210808 #521415 #832022 #B42C2E

Accessibility & contrast

On white

14.29
#521415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521415
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521415#FFFFFF#000000##FFFFFF
##5214151.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252214
Deuteranopia (green-blind)
#352F13
Tritanopia (blue-blind)
#5B0315
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521415;
/* rgb */ color: rgb(82, 20, 21);
/* oklch */ color: oklch(29.7% 0.092 23.9);
Tailwind
colors: {
  custom: {
    50: '#885652',
    500: '#521415',
    950: '#000000',
  },
}
SCSS
$custom: #521415;
$custom-light: #885652;
$custom-dark: #000000;
JSON
{
  "hex": "#521415",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 21
  },
  "hsl": {
    "h": 359.032,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.09206,
    "h": 23.9
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#521415
secondary
#388A89
accent
#E4E144
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521415

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

Preview Lab → · Contrast checker → · Palette generator →

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