#521213#521213

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

Color values

HEX#521213
RGBrgb(82, 18, 19)
HSLhsl(359, 64%, 20%)
HSVhsv(359, 78%, 32%)
CMYKcmyk(0%, 78%, 76.8%, 67.8%)
CIE-LABlab(16.86, 29.52, 16.86)
CIE-LCHlch(16.86, 34.00, 29.73°)
OKLaboklab(29.47% 0.0861 0.039)
OKLCHoklch(29.47% 0.095 24.3)
XYZxyz(3.8139, 2.2740, 0.8541)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521213 #125251
analogous
#521233 #521213 #523112
triadic
#521213 #135212 #121352
tetradic
#521213 #335212 #125251 #311252
square
#521213 #335212 #125251 #311252
split-complementary
#521213 #125231 #123352
monochromatic
#190606 #200707 #521213 #841D1F #B6282A

Accessibility & contrast

On white

14.44
#521213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521213
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521213#FFFFFF#000000##FFFFFF
##5212131.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242112
Deuteranopia (green-blind)
#342F11
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521213;
/* rgb */ color: rgb(82, 18, 19);
/* oklch */ color: oklch(29.5% 0.095 24.3);
Tailwind
colors: {
  custom: {
    50: '#885550',
    500: '#521213',
    950: '#000000',
  },
}
SCSS
$custom: #521213;
$custom-light: #885550;
$custom-dark: #000000;
JSON
{
  "hex": "#521213",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29471,
    "c": 0.09454,
    "h": 24.3
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#521213
secondary
#358B8A
accent
#E7E441
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521213

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

Preview Lab → · Contrast checker → · Palette generator →

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