#581827#581827

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

Color values

HEX#581827
RGBrgb(88, 24, 39)
HSLhsl(346, 57%, 22%)
HSVhsv(346, 73%, 35%)
CMYKcmyk(0%, 72.7%, 55.7%, 65.5%)
CIE-LABlab(19.54, 30.58, 6.59)
CIE-LCHlch(19.54, 31.28, 12.16°)
OKLaboklab(31.84% 0.0927 0.0168)
OKLCHoklch(31.84% 0.094 10.3)
XYZxyz(4.7177, 2.8751, 2.2256)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581827 #185849
analogous
#581847 #581827 #582918
triadic
#581827 #275818 #182758
tetradic
#581827 #475818 #185849 #291858
square
#581827 #475818 #185849 #291858
split-complementary
#581827 #185829 #184758
monochromatic
#18070B #280B12 #581827 #88253C #B83252

Accessibility & contrast

On white

13.34
#581827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#581827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581827
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581827#FFFFFF#000000##FFFFFF
##5818271.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#383425
Tritanopia (blue-blind)
#600C1E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581827;
/* rgb */ color: rgb(88, 24, 39);
/* oklch */ color: oklch(31.8% 0.094 10.3);
Tailwind
colors: {
  custom: {
    50: '#8b5a60',
    500: '#581827',
    950: '#000000',
  },
}
SCSS
$custom: #581827;
$custom-light: #8b5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#581827",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 345.938,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31836,
    "c": 0.09424,
    "h": 10.3
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#581827
secondary
#3D8F7C
accent
#E0BD47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0405
muted
#7D7979

Preview Lab

Preview with #581827

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

Preview Lab → · Contrast checker → · Palette generator →

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