#582212#582212

#582212 is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.9% C 0.084 H 37.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#582212
RGBrgb(88, 34, 18)
HSLhsl(14, 66%, 21%)
HSVhsv(14, 80%, 35%)
CMYKcmyk(0%, 61.4%, 79.5%, 65.5%)
CIE-LABlab(21.07, 23.83, 22.68)
CIE-LCHlch(21.07, 32.89, 43.58°)
OKLaboklab(32.86% 0.0673 0.0509)
OKLCHoklch(32.86% 0.084 37.1)
XYZxyz(4.7062, 3.2631, 0.9542)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582212 #124858
analogous
#581225 #582212 #584512
triadic
#582212 #125822 #221258
tetradic
#582212 #255812 #124858 #451258
square
#582212 #255812 #124858 #451258
split-complementary
#582212 #125845 #122558
monochromatic
#190A05 #250E08 #582212 #8B361C #BE4927

Accessibility & contrast

On white

12.71
#582212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#582212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582212
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582212#FFFFFF#000000##FFFFFF
##5822121.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#61161F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #582212;
/* rgb */ color: rgb(88, 34, 18);
/* oklch */ color: oklch(32.9% 0.084 37.1);
Tailwind
colors: {
  custom: {
    50: '#8c5f50',
    500: '#582212',
    950: '#000000',
  },
}
SCSS
$custom: #582212;
$custom-light: #8c5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#582212",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 13.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.0844,
    "h": 37.1
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#582212
secondary
#357C91
accent
#C2E93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #582212

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

Preview Lab → · Contrast checker → · Palette generator →

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