#581312#581312

#581312 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.101 H 26.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#581312
RGBrgb(88, 19, 18)
HSLhsl(1, 66%, 21%)
HSVhsv(1, 80%, 35%)
CMYKcmyk(0%, 78.4%, 79.5%, 65.5%)
CIE-LABlab(18.30, 31.25, 19.52)
CIE-LCHlch(18.30, 36.84, 31.99°)
OKLaboklab(30.77% 0.0905 0.0442)
OKLCHoklch(30.77% 0.101 26)
XYZxyz(4.3671, 2.5848, 0.8411)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581312 #125758
analogous
#581234 #581312 #583612
triadic
#581312 #125813 #131258
tetradic
#581312 #345812 #125758 #361258
square
#581312 #345812 #125758 #361258
split-complementary
#581312 #125836 #123458
monochromatic
#190505 #250808 #581312 #8B1E1C #BE2927

Accessibility & contrast

On white

13.84
#581312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#581312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581312
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581312#FFFFFF#000000##FFFFFF
##5813121.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#620014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581312;
/* rgb */ color: rgb(88, 19, 18);
/* oklch */ color: oklch(30.8% 0.101 26.0);
Tailwind
colors: {
  custom: {
    50: '#8d5750',
    500: '#581312',
    950: '#000000',
  },
}
SCSS
$custom: #581312;
$custom-light: #8d5750;
$custom-dark: #000000;
JSON
{
  "hex": "#581312",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30772,
    "c": 0.10071,
    "h": 26
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#581312
secondary
#358F91
accent
#E7E93F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #581312

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

Preview Lab → · Contrast checker → · Palette generator →

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