#521918#521918

#521918 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.086 H 24.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#521918
RGBrgb(82, 25, 24)
HSLhsl(1, 55%, 21%)
HSVhsv(1, 71%, 32%)
CMYKcmyk(0%, 69.5%, 70.7%, 67.8%)
CIE-LABlab(18.17, 26.53, 15.07)
CIE-LCHlch(18.17, 30.51, 29.59°)
OKLaboklab(30.48% 0.0779 0.0357)
OKLCHoklch(30.48% 0.086 24.6)
XYZxyz(3.9926, 2.5556, 1.1470)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521918 #185152
analogous
#521834 #521918 #523618
triadic
#521918 #185219 #191852
tetradic
#521918 #345218 #185152 #361852
square
#521918 #345218 #185152 #361852
split-complementary
#521918 #185236 #183452
monochromatic
#180707 #230B0A #521918 #812726 #B13634

Accessibility & contrast

On white

13.90
#521918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#521918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521918
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521918#FFFFFF#000000##FFFFFF
##5219181.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282517
Deuteranopia (green-blind)
#363116
Tritanopia (blue-blind)
#5B0C19
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521918;
/* rgb */ color: rgb(82, 25, 24);
/* oklch */ color: oklch(30.5% 0.086 24.6);
Tailwind
colors: {
  custom: {
    50: '#875954',
    500: '#521918',
    950: '#000000',
  },
}
SCSS
$custom: #521918;
$custom-light: #875954;
$custom-dark: #000000;
JSON
{
  "hex": "#521918",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 1.034,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30475,
    "c": 0.08566,
    "h": 24.6
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#521918
secondary
#3D8789
accent
#DCDE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #521918

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

Preview Lab → · Contrast checker → · Palette generator →

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