#581D17#581D17

#581D17 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.089 H 28.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#581D17
RGBrgb(88, 29, 23)
HSLhsl(6, 59%, 22%)
HSVhsv(6, 74%, 35%)
CMYKcmyk(0%, 67%, 73.9%, 65.5%)
CIE-LABlab(20.11, 26.83, 18.38)
CIE-LCHlch(20.11, 32.52, 34.42°)
OKLaboklab(32.15% 0.0778 0.0426)
OKLCHoklch(32.15% 0.089 28.7)
XYZxyz(4.6190, 3.0159, 1.1494)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D17 #175258
analogous
#581732 #581D17 #583E17
triadic
#581D17 #17581D #1D1758
tetradic
#581D17 #325817 #175258 #3E1758
square
#581D17 #325817 #175258 #3E1758
split-complementary
#581D17 #17583E #173258
monochromatic
#180806 #270D0A #581D17 #892D24 #B93D30

Accessibility & contrast

On white

13.10
#581D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581D17
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D17#FFFFFF#000000##FFFFFF
##581D171.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2816
Deuteranopia (green-blind)
#3C3515
Tritanopia (blue-blind)
#61101C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581d17;
/* rgb */ color: rgb(88, 29, 23);
/* oklch */ color: oklch(32.2% 0.089 28.7);
Tailwind
colors: {
  custom: {
    50: '#8c5c54',
    500: '#581d17',
    950: '#000000',
  },
}
SCSS
$custom: #581d17;
$custom-light: #8c5c54;
$custom-dark: #000000;
JSON
{
  "hex": "#581d17",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 5.538,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32152,
    "c": 0.08867,
    "h": 28.7
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#581D17
secondary
#3C878F
accent
#D3E246
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581D17

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

Preview Lab → · Contrast checker → · Palette generator →

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