#581B18#581B18

#581B18 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.091 H 26.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#581B18
RGBrgb(88, 27, 24)
HSLhsl(3, 57%, 22%)
HSVhsv(3, 73%, 35%)
CMYKcmyk(0%, 69.3%, 72.7%, 65.5%)
CIE-LABlab(19.74, 27.91, 17.27)
CIE-LCHlch(19.74, 32.82, 31.75°)
OKLaboklab(31.88% 0.0814 0.0404)
OKLCHoklch(31.88% 0.091 26.4)
XYZxyz(4.5818, 2.9252, 1.1873)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B18 #185558
analogous
#581835 #581B18 #583B18
triadic
#581B18 #18581B #1B1858
tetradic
#581B18 #355818 #185558 #3B1858
square
#581B18 #355818 #185558 #3B1858
split-complementary
#581B18 #18583B #183558
monochromatic
#180707 #280C0B #581B18 #882A25 #B83932

Accessibility & contrast

On white

13.25
#581B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#581B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B18
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B18#FFFFFF#000000##FFFFFF
##581B181.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#610D1B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581b18;
/* rgb */ color: rgb(88, 27, 24);
/* oklch */ color: oklch(31.9% 0.091 26.4);
Tailwind
colors: {
  custom: {
    50: '#8c5b54',
    500: '#581b18',
    950: '#000000',
  },
}
SCSS
$custom: #581b18;
$custom-light: #8c5b54;
$custom-dark: #000000;
JSON
{
  "hex": "#581b18",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 2.813,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31883,
    "c": 0.09085,
    "h": 26.4
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#581B18
secondary
#3D8B8F
accent
#D9E047
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581B18

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

Preview Lab → · Contrast checker → · Palette generator →

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