#581B17#581B17

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

Color values

HEX#581B17
RGBrgb(88, 27, 23)
HSLhsl(4, 59%, 22%)
HSVhsv(4, 74%, 35%)
CMYKcmyk(0%, 69.3%, 73.9%, 65.5%)
CIE-LABlab(19.73, 27.85, 17.92)
CIE-LCHlch(19.73, 33.12, 32.77°)
OKLaboklab(31.87% 0.081 0.0416)
OKLCHoklch(31.87% 0.091 27.2)
XYZxyz(4.5716, 2.9211, 1.1335)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B17 #175458
analogous
#581734 #581B17 #583C17
triadic
#581B17 #17581B #1B1758
tetradic
#581B17 #345817 #175458 #3C1758
square
#581B17 #345817 #175458 #3C1758
split-complementary
#581B17 #17583C #173458
monochromatic
#180706 #270C0A #581B17 #892A24 #B93930

Accessibility & contrast

On white

13.26
#581B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B17
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B17#FFFFFF#000000##FFFFFF
##581B171.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#610C1B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581b17;
/* rgb */ color: rgb(88, 27, 23);
/* oklch */ color: oklch(31.9% 0.091 27.2);
Tailwind
colors: {
  custom: {
    50: '#8c5b54',
    500: '#581b17',
    950: '#000000',
  },
}
SCSS
$custom: #581b17;
$custom-light: #8c5b54;
$custom-dark: #000000;
JSON
{
  "hex": "#581b17",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 23
  },
  "hsl": {
    "h": 3.692,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31865,
    "c": 0.09103,
    "h": 27.2
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#581B17
secondary
#3C8A8F
accent
#D8E246
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581B17

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

Preview Lab → · Contrast checker → · Palette generator →

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