#581F20#581F20

#581F20 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.6% C 0.085 H 22.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#581F20
RGBrgb(88, 31, 32)
HSLhsl(359, 48%, 23%)
HSVhsv(359, 65%, 35%)
CMYKcmyk(0%, 64.8%, 63.6%, 65.5%)
CIE-LABlab(20.67, 26.43, 13.00)
CIE-LCHlch(20.67, 29.46, 26.19°)
OKLaboklab(32.63% 0.0784 0.0317)
OKLCHoklch(32.63% 0.085 22)
XYZxyz(4.7756, 3.1596, 1.7246)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F20 #1F5857
analogous
#581F3C #581F20 #583A1F
triadic
#581F20 #20581F #1F2058
tetradic
#581F20 #3C581F #1F5857 #3A1F58
square
#581F20 #3C581F #1F5857 #3A1F58
split-complementary
#581F20 #1F583A #1F3C58
monochromatic
#170808 #2B0F10 #581F20 #852F30 #B33F41

Accessibility & contrast

On white

12.87
#581F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F20
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F20#FFFFFF#000000##FFFFFF
##581F201.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A20
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#611420
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f20;
/* rgb */ color: rgb(88, 31, 32);
/* oklch */ color: oklch(32.6% 0.085 22.0);
Tailwind
colors: {
  custom: {
    50: '#8b5d5b',
    500: '#581f20',
    950: '#000000',
  },
}
SCSS
$custom: #581f20;
$custom-light: #8b5d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#581f20",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 358.947,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.08458,
    "h": 22
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#581F20
secondary
#468D8B
accent
#D7D550
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0404
muted
#7D7979

Preview Lab

Preview with #581F20

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

Preview Lab → · Contrast checker → · Palette generator →

#581F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva