#581F2D#581F2D

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

Color values

HEX#581F2D
RGBrgb(88, 31, 45)
HSLhsl(345, 48%, 23%)
HSVhsv(345, 65%, 35%)
CMYKcmyk(0%, 64.8%, 48.9%, 65.5%)
CIE-LABlab(21.00, 27.73, 4.44)
CIE-LCHlch(21.00, 28.08, 9.09°)
OKLaboklab(32.98% 0.0843 0.0116)
OKLCHoklch(32.98% 0.085 7.9)
XYZxyz(4.9885, 3.2447, 2.8457)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F2D #1F584A
analogous
#581F49 #581F2D #582D1F
triadic
#581F2D #2D581F #1F2D58
tetradic
#581F2D #49581F #1F584A #2D1F58
square
#581F2D #49581F #1F584A #2D1F58
split-complementary
#581F2D #1F582D #1F4958
monochromatic
#17080C #2B0F16 #581F2D #852F44 #B33F5B

Accessibility & contrast

On white

12.74
#581F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F2D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F2D#FFFFFF#000000##FFFFFF
##581F2D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2D
Deuteranopia (green-blind)
#3A372C
Tritanopia (blue-blind)
#601824
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f2d;
/* rgb */ color: rgb(88, 31, 45);
/* oklch */ color: oklch(33.0% 0.085 7.9);
Tailwind
colors: {
  custom: {
    50: '#8a5e65',
    500: '#581f2d',
    950: '#000000',
  },
}
SCSS
$custom: #581f2d;
$custom-light: #8a5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#581f2d",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 345.263,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.0851,
    "h": 7.9
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#581F2D
secondary
#468D7B
accent
#D7B650
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0405
muted
#7D797A

Preview Lab

Preview with #581F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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