#581B1F#581B1F

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

Color values

HEX#581B1F
RGBrgb(88, 27, 31)
HSLhsl(356, 53%, 23%)
HSVhsv(356, 69%, 35%)
CMYKcmyk(0%, 69.3%, 64.8%, 65.5%)
CIE-LABlab(19.88, 28.42, 12.65)
CIE-LCHlch(19.88, 31.11, 23.99°)
OKLaboklab(32.03% 0.0845 0.0308)
OKLCHoklch(32.03% 0.09 20)
XYZxyz(4.6642, 2.9581, 1.6214)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B1F #1B5854
analogous
#581B3D #581B1F #58361B
triadic
#581B1F #1F581B #1B1F58
tetradic
#581B1F #3D581B #1B5854 #361B58
square
#581B1F #3D581B #1B5854 #361B58
split-complementary
#581B1F #1B5836 #1B3D58
monochromatic
#170708 #290D0F #581B1F #87292F #B63840

Accessibility & contrast

On white

13.19
#581B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B1F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B1F#FFFFFF#000000##FFFFFF
##581B1F1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#610E1D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581b1f;
/* rgb */ color: rgb(88, 27, 31);
/* oklch */ color: oklch(32.0% 0.090 20.0);
Tailwind
colors: {
  custom: {
    50: '#8c5b5a',
    500: '#581b1f',
    950: '#000000',
  },
}
SCSS
$custom: #581b1f;
$custom-light: #8c5b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#581b1f",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 31
  },
  "hsl": {
    "h": 356.066,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32026,
    "c": 0.08994,
    "h": 20
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#581B1F
secondary
#418E89
accent
#DCD34B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #581B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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