#581218#581218

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

Color values

HEX#581218
RGBrgb(88, 18, 24)
HSLhsl(355, 66%, 21%)
HSVhsv(355, 80%, 35%)
CMYKcmyk(0%, 79.5%, 72.7%, 65.5%)
CIE-LABlab(18.25, 31.99, 15.44)
CIE-LCHlch(18.25, 35.52, 25.77°)
OKLaboklab(30.77% 0.0943 0.0363)
OKLCHoklch(30.77% 0.101 21)
XYZxyz(4.4062, 2.5739, 1.1288)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581218 #125852
analogous
#58123B #581218 #582F12
triadic
#581218 #185812 #121858
tetradic
#581218 #3B5812 #125852 #2F1258
square
#581218 #3B5812 #125852 #2F1258
split-complementary
#581218 #12582F #123B58
monochromatic
#190507 #25080A #581218 #8B1C26 #BE2734

Accessibility & contrast

On white

13.87
#581218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#581218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581218
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581218#FFFFFF#000000##FFFFFF
##5812181.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#383216
Tritanopia (blue-blind)
#610015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581218;
/* rgb */ color: rgb(88, 18, 24);
/* oklch */ color: oklch(30.8% 0.101 21.0);
Tailwind
colors: {
  custom: {
    50: '#8d5654',
    500: '#581218',
    950: '#000000',
  },
}
SCSS
$custom: #581218;
$custom-light: #8d5654;
$custom-dark: #000000;
JSON
{
  "hex": "#581218",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 354.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30767,
    "c": 0.10104,
    "h": 21
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#581218
secondary
#359189
accent
#E9DA3F
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #581218

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

Preview Lab → · Contrast checker → · Palette generator →

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