#521715#521715

#521715 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.089 H 25.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#521715
RGBrgb(82, 23, 21)
HSLhsl(2, 59%, 20%)
HSVhsv(2, 74%, 32%)
CMYKcmyk(0%, 72%, 74.4%, 67.8%)
CIE-LABlab(17.74, 27.33, 16.60)
CIE-LCHlch(17.74, 31.98, 31.28°)
OKLaboklab(30.14% 0.0797 0.0386)
OKLCHoklch(30.14% 0.089 25.9)
XYZxyz(3.9218, 2.4613, 0.9779)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521715 #155052
analogous
#521532 #521715 #523515
triadic
#521715 #155217 #171552
tetradic
#521715 #325215 #155052 #351552
square
#521715 #325215 #155052 #351552
split-complementary
#521715 #155235 #153252
monochromatic
#180706 #210909 #521715 #832521 #B3322E

Accessibility & contrast

On white

14.07
#521715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521715
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521715#FFFFFF#000000##FFFFFF
##5217151.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272314
Deuteranopia (green-blind)
#363013
Tritanopia (blue-blind)
#5B0817
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521715;
/* rgb */ color: rgb(82, 23, 21);
/* oklch */ color: oklch(30.1% 0.089 25.9);
Tailwind
colors: {
  custom: {
    50: '#885852',
    500: '#521715',
    950: '#000000',
  },
}
SCSS
$custom: #521715;
$custom-light: #885852;
$custom-dark: #000000;
JSON
{
  "hex": "#521715",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 21
  },
  "hsl": {
    "h": 1.967,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.08858,
    "h": 25.9
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#521715
secondary
#39878A
accent
#DDE245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521715

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

Preview Lab → · Contrast checker → · Palette generator →

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