#581F28#581F28

#581F28 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.8% C 0.084 H 13.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#581F28
RGBrgb(88, 31, 40)
HSLhsl(351, 48%, 23%)
HSVhsv(351, 65%, 35%)
CMYKcmyk(0%, 64.8%, 54.5%, 65.5%)
CIE-LABlab(20.86, 27.18, 7.72)
CIE-LCHlch(20.86, 28.26, 15.86°)
OKLaboklab(32.83% 0.0821 0.0196)
OKLCHoklch(32.83% 0.084 13.4)
XYZxyz(4.8979, 3.2085, 2.3684)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F28 #1F584F
analogous
#581F44 #581F28 #58321F
triadic
#581F28 #28581F #1F2858
tetradic
#581F28 #44581F #1F584F #321F58
square
#581F28 #44581F #1F584F #321F58
split-complementary
#581F28 #1F5832 #1F4458
monochromatic
#17080A #2B0F13 #581F28 #852F3D #B33F51

Accessibility & contrast

On white

12.79
#581F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F28
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F28#FFFFFF#000000##FFFFFF
##581F281.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B28
Deuteranopia (green-blind)
#3A3727
Tritanopia (blue-blind)
#601622
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f28;
/* rgb */ color: rgb(88, 31, 40);
/* oklch */ color: oklch(32.8% 0.084 13.4);
Tailwind
colors: {
  custom: {
    50: '#8b5e61',
    500: '#581f28',
    950: '#000000',
  },
}
SCSS
$custom: #581f28;
$custom-light: #8b5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#581f28",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 350.526,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.08439,
    "h": 13.4
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#581F28
secondary
#468D82
accent
#D7C250
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #581F28

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

Preview Lab → · Contrast checker → · Palette generator →

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