#581F21#581F21

#581F21 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.7% C 0.084 H 21.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#581F21
RGBrgb(88, 31, 33)
HSLhsl(358, 48%, 23%)
HSVhsv(358, 65%, 35%)
CMYKcmyk(0%, 64.8%, 62.5%, 65.5%)
CIE-LABlab(20.69, 26.52, 12.34)
CIE-LCHlch(20.69, 29.25, 24.96°)
OKLaboklab(32.65% 0.0789 0.0302)
OKLCHoklch(32.65% 0.084 21)
XYZxyz(4.7894, 3.1651, 1.7973)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F21 #1F5856
analogous
#581F3D #581F21 #58391F
triadic
#581F21 #21581F #1F2158
tetradic
#581F21 #3D581F #1F5856 #391F58
square
#581F21 #3D581F #1F5856 #391F58
split-complementary
#581F21 #1F5839 #1F3D58
monochromatic
#170808 #2B0F10 #581F21 #852F32 #B33F43

Accessibility & contrast

On white

12.86
#581F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F21
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F21#FFFFFF#000000##FFFFFF
##581F211.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A21
Deuteranopia (green-blind)
#3B3620
Tritanopia (blue-blind)
#611520
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f21;
/* rgb */ color: rgb(88, 31, 33);
/* oklch */ color: oklch(32.7% 0.084 21.0);
Tailwind
colors: {
  custom: {
    50: '#8b5d5c',
    500: '#581f21',
    950: '#000000',
  },
}
SCSS
$custom: #581f21;
$custom-light: #8b5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#581f21",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 33
  },
  "hsl": {
    "h": 357.895,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32654,
    "c": 0.08448,
    "h": 21
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#581F21
secondary
#468D8A
accent
#D7D350
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0404
muted
#7D7979

Preview Lab

Preview with #581F21

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

Preview Lab → · Contrast checker → · Palette generator →

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