#581F2A#581F2A

#581F2A is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.085 H 11.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#581F2A
RGBrgb(88, 31, 42)
HSLhsl(348, 48%, 23%)
HSVhsv(348, 65%, 35%)
CMYKcmyk(0%, 64.8%, 52.3%, 65.5%)
CIE-LABlab(20.91, 27.39, 6.41)
CIE-LCHlch(20.91, 28.13, 13.16°)
OKLaboklab(32.89% 0.083 0.0165)
OKLCHoklch(32.89% 0.085 11.2)
XYZxyz(4.9328, 3.2224, 2.5523)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F2A #1F584D
analogous
#581F46 #581F2A #58301F
triadic
#581F2A #2A581F #1F2A58
tetradic
#581F2A #46581F #1F584D #301F58
square
#581F2A #46581F #1F584D #301F58
split-complementary
#581F2A #1F5830 #1F4658
monochromatic
#17080B #2B0F14 #581F2A #852F40 #B33F55

Accessibility & contrast

On white

12.77
#581F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#581F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F2A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F2A#FFFFFF#000000##FFFFFF
##581F2A1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2A
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#601723
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f2a;
/* rgb */ color: rgb(88, 31, 42);
/* oklch */ color: oklch(32.9% 0.085 11.2);
Tailwind
colors: {
  custom: {
    50: '#8b5e63',
    500: '#581f2a',
    950: '#000000',
  },
}
SCSS
$custom: #581f2a;
$custom-light: #8b5e63;
$custom-dark: #000000;
JSON
{
  "hex": "#581f2a",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 348.421,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.08459,
    "h": 11.2
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#581F2A
secondary
#468D7F
accent
#D7BD50
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #581F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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