#521718#521718

#521718 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 23.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#521718
RGBrgb(82, 23, 24)
HSLhsl(359, 56%, 21%)
HSVhsv(359, 72%, 32%)
CMYKcmyk(0%, 72%, 70.7%, 67.8%)
CIE-LABlab(17.80, 27.53, 14.60)
CIE-LCHlch(17.80, 31.17, 27.94°)
OKLaboklab(30.2% 0.081 0.0347)
OKLCHoklch(30.2% 0.088 23.2)
XYZxyz(3.9513, 2.4731, 1.1333)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521718 #175251
analogous
#521735 #521718 #523317
triadic
#521718 #185217 #171852
tetradic
#521718 #355217 #175251 #331752
square
#521718 #355217 #175251 #331752
split-complementary
#521718 #175233 #173552
monochromatic
#180707 #220A0A #521718 #822426 #B23234

Accessibility & contrast

On white

14.05
#521718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521718
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521718#FFFFFF#000000##FFFFFF
##5217181.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272418
Deuteranopia (green-blind)
#363016
Tritanopia (blue-blind)
#5B0918
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521718;
/* rgb */ color: rgb(82, 23, 24);
/* oklch */ color: oklch(30.2% 0.088 23.2);
Tailwind
colors: {
  custom: {
    50: '#885854',
    500: '#521718',
    950: '#000000',
  },
}
SCSS
$custom: #521718;
$custom-light: #885854;
$custom-dark: #000000;
JSON
{
  "hex": "#521718",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 358.983,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30197,
    "c": 0.08813,
    "h": 23.2
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#521718
secondary
#3C8988
accent
#DFDD48
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521718

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

Preview Lab → · Contrast checker → · Palette generator →

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