#581812#581812

#581812 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.095 H 29.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#581812
RGBrgb(88, 24, 18)
HSLhsl(5, 66%, 21%)
HSVhsv(5, 80%, 35%)
CMYKcmyk(0%, 72.7%, 79.5%, 65.5%)
CIE-LABlab(19.11, 29.03, 20.47)
CIE-LCHlch(19.11, 35.52, 35.19°)
OKLaboklab(31.38% 0.0835 0.0462)
OKLCHoklch(31.38% 0.095 29)
XYZxyz(4.4608, 2.7723, 0.8724)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581812 #125258
analogous
#58122F #581812 #583B12
triadic
#581812 #125818 #181258
tetradic
#581812 #2F5812 #125258 #3B1258
square
#581812 #2F5812 #125258 #3B1258
split-complementary
#581812 #12583B #122F58
monochromatic
#190705 #250A08 #581812 #8B261C #BE3427

Accessibility & contrast

On white

13.51
#581812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#581812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581812
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581812#FFFFFF#000000##FFFFFF
##5818121.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2611
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#610617
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #581812;
/* rgb */ color: rgb(88, 24, 18);
/* oklch */ color: oklch(31.4% 0.095 29.0);
Tailwind
colors: {
  custom: {
    50: '#8d5950',
    500: '#581812',
    950: '#000000',
  },
}
SCSS
$custom: #581812;
$custom-light: #8d5950;
$custom-dark: #000000;
JSON
{
  "hex": "#581812",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 5.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31377,
    "c": 0.09543,
    "h": 29
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#581812
secondary
#358991
accent
#DAE93F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #581812

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

Preview Lab → · Contrast checker → · Palette generator →

#581812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva