#581F12#581F12

#581F12 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.088 H 34.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#581F12
RGBrgb(88, 31, 18)
HSLhsl(11, 66%, 21%)
HSVhsv(11, 80%, 35%)
CMYKcmyk(0%, 64.8%, 79.5%, 65.5%)
CIE-LABlab(20.44, 25.48, 21.98)
CIE-LCHlch(20.44, 33.65, 40.78°)
OKLaboklab(32.38% 0.0724 0.0494)
OKLCHoklch(32.38% 0.088 34.3)
XYZxyz(4.6241, 3.0990, 0.9268)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F12 #124B58
analogous
#581228 #581F12 #584212
triadic
#581F12 #12581F #1F1258
tetradic
#581F12 #285812 #124B58 #421258
square
#581F12 #285812 #124B58 #421258
split-complementary
#581F12 #125842 #122858
monochromatic
#190905 #250D08 #581F12 #8B311C #BE4327

Accessibility & contrast

On white

12.97
#581F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F12
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F12#FFFFFF#000000##FFFFFF
##581F121.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2910
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#61121C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #581f12;
/* rgb */ color: rgb(88, 31, 18);
/* oklch */ color: oklch(32.4% 0.088 34.3);
Tailwind
colors: {
  custom: {
    50: '#8d5d50',
    500: '#581f12',
    950: '#000000',
  },
}
SCSS
$custom: #581f12;
$custom-light: #8d5d50;
$custom-dark: #000000;
JSON
{
  "hex": "#581f12",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 11.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32377,
    "c": 0.08767,
    "h": 34.3
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#581F12
secondary
#358091
accent
#C9E93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581F12

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

Preview Lab → · Contrast checker → · Palette generator →

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