#581B1B#581B1B

#581B1B is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.090 H 23.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#581B1B
RGBrgb(88, 27, 27)
HSLhsl(0, 53%, 23%)
HSVhsv(0, 69%, 35%)
CMYKcmyk(0%, 69.3%, 69.3%, 65.5%)
CIE-LABlab(19.80, 28.12, 15.30)
CIE-LCHlch(19.80, 32.01, 28.56°)
OKLaboklab(31.94% 0.0827 0.0364)
OKLCHoklch(31.94% 0.09 23.7)
XYZxyz(4.6147, 2.9383, 1.3609)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B1B #1B5858
analogous
#581B39 #581B1B #58391B
triadic
#581B1B #1B581B #1B1B58
tetradic
#581B1B #39581B #1B5858 #391B58
square
#581B1B #39581B #1B5858 #391B58
split-complementary
#581B1B #1B5839 #1B3958
monochromatic
#170707 #290D0D #581B1B #872929 #B63838

Accessibility & contrast

On white

13.23
#581B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#581B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B1B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B1B#FFFFFF#000000##FFFFFF
##581B1B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281A
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#610D1C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581b1b;
/* rgb */ color: rgb(88, 27, 27);
/* oklch */ color: oklch(31.9% 0.090 23.7);
Tailwind
colors: {
  custom: {
    50: '#8c5b57',
    500: '#581b1b',
    950: '#000000',
  },
}
SCSS
$custom: #581b1b;
$custom-light: #8c5b57;
$custom-dark: #000000;
JSON
{
  "hex": "#581b1b",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3194,
    "c": 0.09036,
    "h": 23.7
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#581B1B
secondary
#418E8E
accent
#DCDC4B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #581B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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