#581F2B#581F2B

#581F2B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.085 H 10.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#581F2B
RGBrgb(88, 31, 43)
HSLhsl(347, 48%, 23%)
HSVhsv(347, 65%, 35%)
CMYKcmyk(0%, 64.8%, 51.1%, 65.5%)
CIE-LABlab(20.94, 27.50, 5.75)
CIE-LCHlch(20.94, 28.10, 11.81°)
OKLaboklab(32.92% 0.0834 0.0149)
OKLCHoklch(32.92% 0.085 10.1)
XYZxyz(4.9509, 3.2297, 2.6477)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F2B #1F584C
analogous
#581F47 #581F2B #582F1F
triadic
#581F2B #2B581F #1F2B58
tetradic
#581F2B #47581F #1F584C #2F1F58
square
#581F2B #47581F #1F584C #2F1F58
split-complementary
#581F2B #1F582F #1F4758
monochromatic
#17080B #2B0F15 #581F2B #852F41 #B33F57

Accessibility & contrast

On white

12.76
#581F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#581F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F2B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F2B#FFFFFF#000000##FFFFFF
##581F2B1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#601724
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f2b;
/* rgb */ color: rgb(88, 31, 43);
/* oklch */ color: oklch(32.9% 0.085 10.1);
Tailwind
colors: {
  custom: {
    50: '#8b5e64',
    500: '#581f2b',
    950: '#000000',
  },
}
SCSS
$custom: #581f2b;
$custom-light: #8b5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#581f2b",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 347.368,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.08474,
    "h": 10.1
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#581F2B
secondary
#468D7E
accent
#D7BB50
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #581F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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