#521817#521817

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

Color values

HEX#521817
RGBrgb(82, 24, 23)
HSLhsl(1, 56%, 21%)
HSVhsv(1, 72%, 32%)
CMYKcmyk(0%, 70.7%, 72%, 67.8%)
CIE-LABlab(17.96, 26.97, 15.50)
CIE-LCHlch(17.96, 31.11, 29.89°)
OKLaboklab(30.31% 0.079 0.0365)
OKLCHoklch(30.31% 0.087 24.8)
XYZxyz(3.9614, 2.5095, 1.0862)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521817 #175152
analogous
#521733 #521817 #523517
triadic
#521817 #175218 #181752
tetradic
#521817 #335217 #175152 #351752
square
#521817 #335217 #175152 #351752
split-complementary
#521817 #175235 #173352
monochromatic
#180707 #220A0A #521817 #822624 #B23432

Accessibility & contrast

On white

13.98
#521817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521817
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521817#FFFFFF#000000##FFFFFF
##5218171.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521817;
/* rgb */ color: rgb(82, 24, 23);
/* oklch */ color: oklch(30.3% 0.087 24.8);
Tailwind
colors: {
  custom: {
    50: '#885853',
    500: '#521817',
    950: '#000000',
  },
}
SCSS
$custom: #521817;
$custom-light: #885853;
$custom-dark: #000000;
JSON
{
  "hex": "#521817",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 1.017,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30314,
    "c": 0.08705,
    "h": 24.8
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#521817
secondary
#3C8889
accent
#DDDF48
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521817

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

Preview Lab → · Contrast checker → · Palette generator →

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