#581F17#581F17

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

Color values

HEX#581F17
RGBrgb(88, 31, 23)
HSLhsl(7, 59%, 22%)
HSVhsv(7, 74%, 35%)
CMYKcmyk(0%, 64.8%, 73.9%, 65.5%)
CIE-LABlab(20.51, 25.77, 18.86)
CIE-LCHlch(20.51, 31.93, 36.20°)
OKLaboklab(32.45% 0.0745 0.0437)
OKLCHoklch(32.45% 0.086 30.4)
XYZxyz(4.6696, 3.1172, 1.1662)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F17 #175058
analogous
#581730 #581F17 #584017
triadic
#581F17 #17581F #1F1758
tetradic
#581F17 #305817 #175058 #401758
square
#581F17 #305817 #175058 #401758
split-complementary
#581F17 #175840 #173058
monochromatic
#180906 #270E0A #581F17 #893024 #B94130

Accessibility & contrast

On white

12.94
#581F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F17
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F17#FFFFFF#000000##FFFFFF
##581F171.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A16
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#61131D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581f17;
/* rgb */ color: rgb(88, 31, 23);
/* oklch */ color: oklch(32.5% 0.086 30.4);
Tailwind
colors: {
  custom: {
    50: '#8c5d54',
    500: '#581f17',
    950: '#000000',
  },
}
SCSS
$custom: #581f17;
$custom-light: #8c5d54;
$custom-dark: #000000;
JSON
{
  "hex": "#581f17",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 7.385,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32454,
    "c": 0.08632,
    "h": 30.4
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#581F17
secondary
#3C858F
accent
#CFE246
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581F17

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

Preview Lab → · Contrast checker → · Palette generator →

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