#581F18#581F18

#581F18 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.086 H 29.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#581F18
RGBrgb(88, 31, 24)
HSLhsl(7, 57%, 22%)
HSVhsv(7, 73%, 35%)
CMYKcmyk(0%, 64.8%, 72.7%, 65.5%)
CIE-LABlab(20.52, 25.83, 18.22)
CIE-LCHlch(20.52, 31.61, 35.19°)
OKLaboklab(32.47% 0.0749 0.0424)
OKLCHoklch(32.47% 0.086 29.5)
XYZxyz(4.6798, 3.1213, 1.2200)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F18 #185158
analogous
#581831 #581F18 #583F18
triadic
#581F18 #18581F #1F1858
tetradic
#581F18 #315818 #185158 #3F1858
square
#581F18 #315818 #185158 #3F1858
split-complementary
#581F18 #18583F #183158
monochromatic
#180807 #280E0B #581F18 #883025 #B84132

Accessibility & contrast

On white

12.93
#581F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#581F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F18
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F18#FFFFFF#000000##FFFFFF
##581F181.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A17
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#61131E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581f18;
/* rgb */ color: rgb(88, 31, 24);
/* oklch */ color: oklch(32.5% 0.086 29.5);
Tailwind
colors: {
  custom: {
    50: '#8c5d55',
    500: '#581f18',
    950: '#000000',
  },
}
SCSS
$custom: #581f18;
$custom-light: #8c5d55;
$custom-dark: #000000;
JSON
{
  "hex": "#581f18",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 6.563,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.08606,
    "h": 29.5
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#581F18
secondary
#3D868F
accent
#D0E047
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #581F18

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

Preview Lab → · Contrast checker → · Palette generator →

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