#581C1F#581C1F

#581C1F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.089 H 20.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#581C1F
RGBrgb(88, 28, 31)
HSLhsl(357, 52%, 23%)
HSVhsv(357, 68%, 35%)
CMYKcmyk(0%, 68.2%, 64.8%, 65.5%)
CIE-LABlab(20.06, 27.92, 12.89)
CIE-LCHlch(20.06, 30.75, 24.79°)
OKLaboklab(32.17% 0.0829 0.0313)
OKLCHoklch(32.17% 0.089 20.7)
XYZxyz(4.6875, 3.0048, 1.6292)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C1F #1C5855
analogous
#581C3D #581C1F #58371C
triadic
#581C1F #1F581C #1C1F58
tetradic
#581C1F #3D581C #1C5855 #371C58
square
#581C1F #3D581C #1C5855 #371C58
split-complementary
#581C1F #1C5837 #1C3D58
monochromatic
#170708 #2A0D0F #581C1F #862B2F #B53A40

Accessibility & contrast

On white

13.12
#581C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#581C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C1F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C1F#FFFFFF#000000##FFFFFF
##581C1F1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#61101E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581c1f;
/* rgb */ color: rgb(88, 28, 31);
/* oklch */ color: oklch(32.2% 0.089 20.7);
Tailwind
colors: {
  custom: {
    50: '#8c5c5a',
    500: '#581c1f',
    950: '#000000',
  },
}
SCSS
$custom: #581c1f;
$custom-light: #8c5c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#581c1f",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 31
  },
  "hsl": {
    "h": 357,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32167,
    "c": 0.08864,
    "h": 20.7
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#581C1F
secondary
#428E8A
accent
#DBD44D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #581C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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