#581F1D#581F1D

#581F1D is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.085 H 25.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#581F1D
RGBrgb(88, 31, 29)
HSLhsl(2, 50%, 23%)
HSVhsv(2, 67%, 35%)
CMYKcmyk(0%, 64.8%, 67%, 65.5%)
CIE-LABlab(20.61, 26.19, 14.97)
CIE-LCHlch(20.61, 30.17, 29.75°)
OKLaboklab(32.57% 0.0771 0.0359)
OKLCHoklch(32.57% 0.085 25)
XYZxyz(4.7367, 3.1440, 1.5196)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F1D #1D5658
analogous
#581D38 #581F1D #583C1D
triadic
#581F1D #1D581F #1F1D58
tetradic
#581F1D #38581D #1D5658 #3C1D58
square
#581F1D #38581D #1D5658 #3C1D58
split-complementary
#581F1D #1D583C #1D3858
monochromatic
#170808 #2A0F0E #581F1D #862F2C #B43F3B

Accessibility & contrast

On white

12.89
#581F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F1D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F1D#FFFFFF#000000##FFFFFF
##581F1D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1C
Deuteranopia (green-blind)
#3C361C
Tritanopia (blue-blind)
#61141F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f1d;
/* rgb */ color: rgb(88, 31, 29);
/* oklch */ color: oklch(32.6% 0.085 25.0);
Tailwind
colors: {
  custom: {
    50: '#8c5d58',
    500: '#581f1d',
    950: '#000000',
  },
}
SCSS
$custom: #581f1d;
$custom-light: #8c5d58;
$custom-dark: #000000;
JSON
{
  "hex": "#581f1d",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 2.034,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32566,
    "c": 0.08501,
    "h": 25
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#581F1D
secondary
#448B8D
accent
#D5DA4E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #581F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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