#521815#521815

#521815 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.3% C 0.087 H 26.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#521815
RGBrgb(82, 24, 21)
HSLhsl(3, 59%, 20%)
HSVhsv(3, 74%, 32%)
CMYKcmyk(0%, 70.7%, 74.4%, 67.8%)
CIE-LABlab(17.93, 26.84, 16.83)
CIE-LCHlch(17.93, 31.68, 32.09°)
OKLaboklab(30.28% 0.0781 0.0391)
OKLCHoklch(30.28% 0.087 26.6)
XYZxyz(3.9421, 2.5018, 0.9846)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521815 #154F52
analogous
#521530 #521815 #523615
triadic
#521815 #155218 #181552
tetradic
#521815 #305215 #154F52 #361552
square
#521815 #305215 #154F52 #361552
split-complementary
#521815 #155236 #153052
monochromatic
#180706 #210A09 #521815 #832621 #B3352E

Accessibility & contrast

On white

14.00
#521815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521815
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521815#FFFFFF#000000##FFFFFF
##5218151.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#363013
Tritanopia (blue-blind)
#5B0A18
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521815;
/* rgb */ color: rgb(82, 24, 21);
/* oklch */ color: oklch(30.3% 0.087 26.6);
Tailwind
colors: {
  custom: {
    50: '#885852',
    500: '#521815',
    950: '#000000',
  },
}
SCSS
$custom: #521815;
$custom-light: #885852;
$custom-dark: #000000;
JSON
{
  "hex": "#521815",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 21
  },
  "hsl": {
    "h": 2.951,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30277,
    "c": 0.08739,
    "h": 26.6
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#521815
secondary
#39868A
accent
#DBE245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521815

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

Preview Lab → · Contrast checker → · Palette generator →

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