#581021#581021

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

Color values

HEX#581021
RGBrgb(88, 16, 33)
HSLhsl(346, 69%, 20%)
HSVhsv(346, 82%, 35%)
CMYKcmyk(0%, 81.8%, 62.5%, 65.5%)
CIE-LABlab(18.17, 33.40, 8.97)
CIE-LCHlch(18.17, 34.58, 15.03°)
OKLaboklab(30.77% 0.1008 0.0223)
OKLCHoklch(30.77% 0.103 12.5)
XYZxyz(4.4847, 2.5557, 1.6957)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581021 #105847
analogous
#581045 #581021 #582310
triadic
#581021 #215810 #102158
tetradic
#581021 #455810 #105847 #231058
square
#581021 #455810 #105847 #231058
split-complementary
#581021 #105823 #104558
monochromatic
#1A050A #24070E #581021 #8C1934 #C02348

Accessibility & contrast

On white

13.90
#581021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581021
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581021#FFFFFF#000000##FFFFFF
##5810211.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232321
Deuteranopia (green-blind)
#36321F
Tritanopia (blue-blind)
#610017
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #581021;
/* rgb */ color: rgb(88, 16, 33);
/* oklch */ color: oklch(30.8% 0.103 12.5);
Tailwind
colors: {
  custom: {
    50: '#8c565b',
    500: '#581021',
    950: '#000000',
  },
}
SCSS
$custom: #581021;
$custom-light: #8c565b;
$custom-dark: #000000;
JSON
{
  "hex": "#581021",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 33
  },
  "hsl": {
    "h": 345.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3077,
    "c": 0.10325,
    "h": 12.5
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#581021
secondary
#32917B
accent
#ECC23C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #581021

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

Preview Lab → · Contrast checker → · Palette generator →

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