#581F16#581F16

#581F16 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.087 H 31.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#581F16
RGBrgb(88, 31, 22)
HSLhsl(8, 60%, 22%)
HSVhsv(8, 75%, 35%)
CMYKcmyk(0%, 64.8%, 75%, 65.5%)
CIE-LABlab(20.49, 25.71, 19.49)
CIE-LCHlch(20.49, 32.26, 37.17°)
OKLaboklab(32.44% 0.074 0.0449)
OKLCHoklch(32.44% 0.087 31.2)
XYZxyz(4.6598, 3.1132, 1.1144)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F16 #164F58
analogous
#58162E #581F16 #584016
triadic
#581F16 #16581F #1F1658
tetradic
#581F16 #2E5816 #164F58 #401658
square
#581F16 #2E5816 #164F58 #401658
split-complementary
#581F16 #165840 #162E58
monochromatic
#180906 #270E0A #581F16 #893022 #BA412E

Accessibility & contrast

On white

12.94
#581F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#581F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F16
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F16#FFFFFF#000000##FFFFFF
##581F161.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A15
Deuteranopia (green-blind)
#3C3614
Tritanopia (blue-blind)
#61131D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581f16;
/* rgb */ color: rgb(88, 31, 22);
/* oklch */ color: oklch(32.4% 0.087 31.2);
Tailwind
colors: {
  custom: {
    50: '#8c5d53',
    500: '#581f16',
    950: '#000000',
  },
}
SCSS
$custom: #581f16;
$custom-light: #8c5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#581f16",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 8.182,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32437,
    "c": 0.08657,
    "h": 31.2
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#581F16
secondary
#3B848F
accent
#CEE345
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581F16

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

Preview Lab → · Contrast checker → · Palette generator →

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