#581B28#581B28

#581B28 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.090 H 10.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#581B28
RGBrgb(88, 27, 40)
HSLhsl(347, 53%, 23%)
HSVhsv(347, 69%, 35%)
CMYKcmyk(0%, 69.3%, 54.5%, 65.5%)
CIE-LABlab(20.09, 29.24, 6.66)
CIE-LCHlch(20.09, 29.99, 12.83°)
OKLaboklab(32.26% 0.0886 0.017)
OKLCHoklch(32.26% 0.09 10.9)
XYZxyz(4.7998, 3.0124, 2.3358)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B28 #1B584B
analogous
#581B46 #581B28 #582C1B
triadic
#581B28 #28581B #1B2858
tetradic
#581B28 #46581B #1B584B #2C1B58
square
#581B28 #46581B #1B584B #2C1B58
split-complementary
#581B28 #1B582C #1B4658
monochromatic
#17070B #290D13 #581B28 #87293D #B63853

Accessibility & contrast

On white

13.11
#581B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#581B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B28
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B28#FFFFFF#000000##FFFFFF
##581B281.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#393527
Tritanopia (blue-blind)
#601120
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #581b28;
/* rgb */ color: rgb(88, 27, 40);
/* oklch */ color: oklch(32.3% 0.090 10.9);
Tailwind
colors: {
  custom: {
    50: '#8b5b61',
    500: '#581b28',
    950: '#000000',
  },
}
SCSS
$custom: #581b28;
$custom-light: #8b5b61;
$custom-dark: #000000;
JSON
{
  "hex": "#581b28",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 347.213,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3226,
    "c": 0.09021,
    "h": 10.9
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#581B28
secondary
#418E7D
accent
#DCBE4B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #581B28

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

Preview Lab → · Contrast checker → · Palette generator →

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