#581817#581817

#581817 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.095 H 25.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#581817
RGBrgb(88, 24, 23)
HSLhsl(1, 59%, 22%)
HSVhsv(1, 74%, 35%)
CMYKcmyk(0%, 72.7%, 73.9%, 65.5%)
CIE-LABlab(19.18, 29.31, 17.27)
CIE-LCHlch(19.18, 34.02, 30.51°)
OKLaboklab(31.46% 0.0856 0.0402)
OKLCHoklch(31.46% 0.095 25.2)
XYZxyz(4.5063, 2.7905, 1.1118)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581817 #175758
analogous
#581737 #581817 #583917
triadic
#581817 #175818 #181758
tetradic
#581817 #375817 #175758 #391758
square
#581817 #375817 #175758 #391758
split-complementary
#581817 #175839 #173758
monochromatic
#180706 #270B0A #581817 #892524 #B93230

Accessibility & contrast

On white

13.48
#581817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#581817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581817
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581817#FFFFFF#000000##FFFFFF
##5818171.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2616
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#610718
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581817;
/* rgb */ color: rgb(88, 24, 23);
/* oklch */ color: oklch(31.5% 0.095 25.2);
Tailwind
colors: {
  custom: {
    50: '#8d5954',
    500: '#581817',
    950: '#000000',
  },
}
SCSS
$custom: #581817;
$custom-light: #8d5954;
$custom-dark: #000000;
JSON
{
  "hex": "#581817",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.923,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.09453,
    "h": 25.2
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#581817
secondary
#3C8E8F
accent
#DFE246
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581817

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

Preview Lab → · Contrast checker → · Palette generator →

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