#581B27#581B27

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

Color values

HEX#581B27
RGBrgb(88, 27, 39)
HSLhsl(348, 53%, 23%)
HSVhsv(348, 69%, 35%)
CMYKcmyk(0%, 69.3%, 55.7%, 65.5%)
CIE-LABlab(20.07, 29.14, 7.32)
CIE-LCHlch(20.07, 30.04, 14.11°)
OKLaboklab(32.23% 0.0882 0.0186)
OKLCHoklch(32.23% 0.09 11.9)
XYZxyz(4.7830, 3.0057, 2.2473)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B27 #1B584C
analogous
#581B45 #581B27 #582E1B
triadic
#581B27 #27581B #1B2758
tetradic
#581B27 #45581B #1B584C #2E1B58
square
#581B27 #45581B #1B584C #2E1B58
split-complementary
#581B27 #1B582E #1B4558
monochromatic
#17070A #290D12 #581B27 #87293C #B63851

Accessibility & contrast

On white

13.12
#581B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581B27
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B27#FFFFFF#000000##FFFFFF
##581B271.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581b27;
/* rgb */ color: rgb(88, 27, 39);
/* oklch */ color: oklch(32.2% 0.090 11.9);
Tailwind
colors: {
  custom: {
    50: '#8b5b60',
    500: '#581b27',
    950: '#000000',
  },
}
SCSS
$custom: #581b27;
$custom-light: #8b5b60;
$custom-dark: #000000;
JSON
{
  "hex": "#581b27",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 348.197,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.09009,
    "h": 11.9
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#581B27
secondary
#418E7F
accent
#DCC04B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #581B27

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

Preview Lab → · Contrast checker → · Palette generator →

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