#521618#521618

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

Color values

HEX#521618
RGBrgb(82, 22, 24)
HSLhsl(358, 58%, 20%)
HSVhsv(358, 73%, 32%)
CMYKcmyk(0%, 73.2%, 70.7%, 67.8%)
CIE-LABlab(17.62, 28.02, 14.38)
CIE-LCHlch(17.62, 31.49, 27.17°)
OKLaboklab(30.06% 0.0826 0.0341)
OKLCHoklch(30.06% 0.089 22.5)
XYZxyz(3.9319, 2.4342, 1.1268)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521618 #165250
analogous
#521636 #521618 #523216
triadic
#521618 #185216 #161852
tetradic
#521618 #365216 #165250 #321652
square
#521618 #365216 #165250 #321652
split-complementary
#521618 #165232 #163652
monochromatic
#180607 #22090A #521618 #822326 #B33034

Accessibility & contrast

On white

14.12
#521618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521618
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521618#FFFFFF#000000##FFFFFF
##5216181.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#5B0717
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521618;
/* rgb */ color: rgb(82, 22, 24);
/* oklch */ color: oklch(30.1% 0.089 22.5);
Tailwind
colors: {
  custom: {
    50: '#885754',
    500: '#521618',
    950: '#000000',
  },
}
SCSS
$custom: #521618;
$custom-light: #885754;
$custom-dark: #000000;
JSON
{
  "hex": "#521618",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 24
  },
  "hsl": {
    "h": 358,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30063,
    "c": 0.08934,
    "h": 22.5
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#521618
secondary
#3A8987
accent
#E1DC47
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521618

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

Preview Lab → · Contrast checker → · Palette generator →

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