#581D12#581D12

#581D12 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.090 H 32.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#581D12
RGBrgb(88, 29, 18)
HSLhsl(9, 66%, 21%)
HSVhsv(9, 80%, 35%)
CMYKcmyk(0%, 67%, 79.5%, 65.5%)
CIE-LABlab(20.03, 26.54, 21.53)
CIE-LCHlch(20.03, 34.17, 39.05°)
OKLaboklab(32.07% 0.0757 0.0485)
OKLCHoklch(32.07% 0.09 32.6)
XYZxyz(4.5735, 2.9977, 0.9099)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D12 #124D58
analogous
#58122A #581D12 #584012
triadic
#581D12 #12581D #1D1258
tetradic
#581D12 #2A5812 #124D58 #401258
square
#581D12 #2A5812 #124D58 #401258
split-complementary
#581D12 #125840 #122A58
monochromatic
#190805 #250C08 #581D12 #8B2E1C #BE3E27

Accessibility & contrast

On white

13.13
#581D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#581D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D12
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D12#FFFFFF#000000##FFFFFF
##581D121.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#610F1B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581d12;
/* rgb */ color: rgb(88, 29, 18);
/* oklch */ color: oklch(32.1% 0.090 32.6);
Tailwind
colors: {
  custom: {
    50: '#8d5c50',
    500: '#581d12',
    950: '#000000',
  },
}
SCSS
$custom: #581d12;
$custom-light: #8d5c50;
$custom-dark: #000000;
JSON
{
  "hex": "#581d12",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 9.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32074,
    "c": 0.08989,
    "h": 32.6
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#581D12
secondary
#358291
accent
#CEE93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581D12

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

Preview Lab → · Contrast checker → · Palette generator →

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