#581F1C#581F1C

#581F1C is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.085 H 25.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#581F1C
RGBrgb(88, 31, 28)
HSLhsl(3, 52%, 23%)
HSVhsv(3, 68%, 35%)
CMYKcmyk(0%, 64.8%, 68.2%, 65.5%)
CIE-LABlab(20.59, 26.11, 15.62)
CIE-LCHlch(20.59, 30.43, 30.89°)
OKLaboklab(32.55% 0.0766 0.0372)
OKLCHoklch(32.55% 0.085 25.9)
XYZxyz(4.7245, 3.1391, 1.4555)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F1C #1C5558
analogous
#581C37 #581F1C #583D1C
triadic
#581F1C #1C581F #1F1C58
tetradic
#581F1C #37581C #1C5558 #3D1C58
square
#581F1C #37581C #1C5558 #3D1C58
split-complementary
#581F1C #1C583D #1C3758
monochromatic
#170807 #2A0F0D #581F1C #862F2B #B5403A

Accessibility & contrast

On white

12.90
#581F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F1C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F1C#FFFFFF#000000##FFFFFF
##581F1C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1B
Deuteranopia (green-blind)
#3C361B
Tritanopia (blue-blind)
#61141F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581f1c;
/* rgb */ color: rgb(88, 31, 28);
/* oklch */ color: oklch(32.5% 0.085 25.9);
Tailwind
colors: {
  custom: {
    50: '#8c5d58',
    500: '#581f1c',
    950: '#000000',
  },
}
SCSS
$custom: #581f1c;
$custom-light: #8c5d58;
$custom-dark: #000000;
JSON
{
  "hex": "#581f1c",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 3,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.08519,
    "h": 25.9
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#581F1C
secondary
#428A8E
accent
#D4DB4D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #581F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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