#521315#521315

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

Color values

HEX#521315
RGBrgb(82, 19, 21)
HSLhsl(358, 62%, 20%)
HSVhsv(358, 77%, 32%)
CMYKcmyk(0%, 76.8%, 74.4%, 67.8%)
CIE-LABlab(17.06, 29.20, 15.77)
CIE-LCHlch(17.06, 33.19, 28.37°)
OKLaboklab(29.63% 0.0856 0.0368)
OKLCHoklch(29.63% 0.093 23.3)
XYZxyz(3.8483, 2.3143, 0.9534)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521315 #135250
analogous
#521335 #521315 #523013
triadic
#521315 #155213 #131552
tetradic
#521315 #355213 #135250 #301352
square
#521315 #355213 #135250 #301352
split-complementary
#521315 #135230 #133552
monochromatic
#190606 #200708 #521315 #841F22 #B52A2E

Accessibility & contrast

On white

14.36
#521315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521315
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521315#FFFFFF#000000##FFFFFF
##5213151.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252115
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#5B0214
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521315;
/* rgb */ color: rgb(82, 19, 21);
/* oklch */ color: oklch(29.6% 0.093 23.3);
Tailwind
colors: {
  custom: {
    50: '#885652',
    500: '#521315',
    950: '#000000',
  },
}
SCSS
$custom: #521315;
$custom-light: #885652;
$custom-dark: #000000;
JSON
{
  "hex": "#521315",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 358.095,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.09318,
    "h": 23.3
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#521315
secondary
#368A88
accent
#E5E042
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521315

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

Preview Lab → · Contrast checker → · Palette generator →

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