#521515#521515

#521515 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.091 H 24.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#521515
RGBrgb(82, 21, 21)
HSLhsl(0, 59%, 20%)
HSVhsv(0, 74%, 32%)
CMYKcmyk(0%, 74.4%, 74.4%, 67.8%)
CIE-LABlab(17.39, 28.29, 16.18)
CIE-LCHlch(17.39, 32.59, 29.76°)
OKLaboklab(29.87% 0.0827 0.0377)
OKLCHoklch(29.87% 0.091 24.5)
XYZxyz(3.8836, 2.3849, 0.9652)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521515 #155252
analogous
#521533 #521515 #523315
triadic
#521515 #155215 #151552
tetradic
#521515 #335215 #155252 #331552
square
#521515 #335215 #155252 #331552
split-complementary
#521515 #155233 #153352
monochromatic
#180606 #210909 #521515 #832121 #B32E2E

Accessibility & contrast

On white

14.22
#521515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521515
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521515#FFFFFF#000000##FFFFFF
##5215151.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262214
Deuteranopia (green-blind)
#353013
Tritanopia (blue-blind)
#5B0516
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521515;
/* rgb */ color: rgb(82, 21, 21);
/* oklch */ color: oklch(29.9% 0.091 24.5);
Tailwind
colors: {
  custom: {
    50: '#885752',
    500: '#521515',
    950: '#000000',
  },
}
SCSS
$custom: #521515;
$custom-light: #885752;
$custom-dark: #000000;
JSON
{
  "hex": "#521515",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 21
  },
  "hsl": {
    "h": 0,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.09092,
    "h": 24.5
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#521515
secondary
#398A8A
accent
#E2E245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521515

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

Preview Lab → · Contrast checker → · Palette generator →

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