#582822#582822

#582822 is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.2% C 0.072 H 28.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#582822
RGBrgb(88, 40, 34)
HSLhsl(7, 44%, 24%)
HSVhsv(7, 61%, 35%)
CMYKcmyk(0%, 54.5%, 61.4%, 65.5%)
CIE-LABlab(22.68, 21.51, 14.26)
CIE-LCHlch(22.68, 25.81, 33.55°)
OKLaboklab(34.17% 0.0634 0.0347)
OKLCHoklch(34.17% 0.072 28.7)
XYZxyz(5.0724, 3.7084, 1.9617)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582822 #225258
analogous
#582237 #582822 #584322
triadic
#582822 #225828 #282258
tetradic
#582822 #375822 #225258 #432258
square
#582822 #375822 #225258 #432258
split-complementary
#582822 #225843 #223758
monochromatic
#160A09 #2C1411 #582822 #843C33 #B05044

Accessibility & contrast

On white

12.06
#582822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#582822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582822
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582822#FFFFFF#000000##FFFFFF
##5828221.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343021
Deuteranopia (green-blind)
#3F3A21
Tritanopia (blue-blind)
#602027
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #582822;
/* rgb */ color: rgb(88, 40, 34);
/* oklch */ color: oklch(34.2% 0.072 28.7);
Tailwind
colors: {
  custom: {
    50: '#8b635d',
    500: '#582822',
    950: '#000000',
  },
}
SCSS
$custom: #582822;
$custom-light: #8b635d;
$custom-dark: #000000;
JSON
{
  "hex": "#582822",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 6.667,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34165,
    "c": 0.07229,
    "h": 28.7
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#582822
secondary
#4A858C
accent
#C6D454
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979

Preview Lab

Preview with #582822

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

Preview Lab → · Contrast checker → · Palette generator →

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