#581828#581828

#581828 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.094 H 9.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#581828
RGBrgb(88, 24, 40)
HSLhsl(345, 57%, 22%)
HSVhsv(345, 73%, 35%)
CMYKcmyk(0%, 72.7%, 54.5%, 65.5%)
CIE-LABlab(19.56, 30.68, 5.92)
CIE-LCHlch(19.56, 31.24, 10.92°)
OKLaboklab(31.87% 0.0932 0.0152)
OKLCHoklch(31.87% 0.094 9.3)
XYZxyz(4.7345, 2.8818, 2.3140)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581828 #185848
analogous
#581848 #581828 #582818
triadic
#581828 #285818 #182858
tetradic
#581828 #485818 #185848 #281858
square
#581828 #485818 #185848 #281858
split-complementary
#581828 #185828 #184858
monochromatic
#18070B #280B12 #581828 #88253E #B83254

Accessibility & contrast

On white

13.32
#581828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#581828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581828
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581828#FFFFFF#000000##FFFFFF
##5818281.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272728
Deuteranopia (green-blind)
#373426
Tritanopia (blue-blind)
#600D1E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581828;
/* rgb */ color: rgb(88, 24, 40);
/* oklch */ color: oklch(31.9% 0.094 9.3);
Tailwind
colors: {
  custom: {
    50: '#8b5a61',
    500: '#581828',
    950: '#000000',
  },
}
SCSS
$custom: #581828;
$custom-light: #8b5a61;
$custom-dark: #000000;
JSON
{
  "hex": "#581828",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 345,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31866,
    "c": 0.09441,
    "h": 9.3
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#581828
secondary
#3D8F7A
accent
#E0BA47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #581828

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

Preview Lab → · Contrast checker → · Palette generator →

#581828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva