#581B0D#581B0D

#581B0D is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.093 H 34.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#581B0D
RGBrgb(88, 27, 13)
HSLhsl(11, 74%, 20%)
HSVhsv(11, 85%, 35%)
CMYKcmyk(0%, 69.3%, 85.2%, 65.5%)
CIE-LABlab(19.59, 27.33, 23.74)
CIE-LCHlch(19.59, 36.20, 40.97°)
OKLaboklab(31.72% 0.0771 0.0526)
OKLCHoklch(31.72% 0.093 34.3)
XYZxyz(4.4896, 2.8883, 0.7018)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B0D #0D4A58
analogous
#580D25 #581B0D #58410D
triadic
#581B0D #0D581B #1B0D58
tetradic
#581B0D #25580D #0D4A58 #410D58
square
#581B0D #25580D #0D4A58 #410D58
split-complementary
#581B0D #0D5841 #0D2558
monochromatic
#1B0804 #230B05 #581B0D #8D2B15 #C33C1D

Accessibility & contrast

On white

13.31
#581B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#581B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B0D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B0D#FFFFFF#000000##FFFFFF
##581B0D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270B
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#620A18
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581b0d;
/* rgb */ color: rgb(88, 27, 13);
/* oklch */ color: oklch(31.7% 0.093 34.3);
Tailwind
colors: {
  custom: {
    50: '#8d5b4d',
    500: '#581b0d',
    950: '#000000',
  },
}
SCSS
$custom: #581b0d;
$custom-light: #8d5b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#581b0d",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 13
  },
  "hsl": {
    "h": 11.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.09333,
    "h": 34.3
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#581B0D
secondary
#2E8093
accent
#CEF137
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #581B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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