#521215#521215

#521215 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 22.7°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#521215
RGBrgb(82, 18, 21)
HSLhsl(357, 64%, 20%)
HSVhsv(357, 78%, 32%)
CMYKcmyk(0%, 78%, 74.4%, 67.8%)
CIE-LABlab(16.90, 29.64, 15.58)
CIE-LCHlch(16.90, 33.48, 27.72°)
OKLaboklab(29.51% 0.087 0.0364)
OKLCHoklch(29.51% 0.094 22.7)
XYZxyz(3.8318, 2.2812, 0.9479)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521215 #12524F
analogous
#521235 #521215 #522F12
triadic
#521215 #155212 #121552
tetradic
#521215 #355212 #12524F #2F1252
square
#521215 #355212 #12524F #2F1252
split-complementary
#521215 #12522F #123552
monochromatic
#190606 #200708 #521215 #841D22 #B6282F

Accessibility & contrast

On white

14.42
#521215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521215
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521215#FFFFFF#000000##FFFFFF
##5212151.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521215;
/* rgb */ color: rgb(82, 18, 21);
/* oklch */ color: oklch(29.5% 0.094 22.7);
Tailwind
colors: {
  custom: {
    50: '#885552',
    500: '#521215',
    950: '#000000',
  },
}
SCSS
$custom: #521215;
$custom-light: #885552;
$custom-dark: #000000;
JSON
{
  "hex": "#521215",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 21
  },
  "hsl": {
    "h": 357.188,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29508,
    "c": 0.0943,
    "h": 22.7
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#521215
secondary
#358B87
accent
#E7DF41
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521215

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

Preview Lab → · Contrast checker → · Palette generator →

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