#581222#581222

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

Color values

HEX#581222
RGBrgb(88, 18, 34)
HSLhsl(346, 66%, 21%)
HSVhsv(346, 80%, 35%)
CMYKcmyk(0%, 79.5%, 61.4%, 65.5%)
CIE-LABlab(18.47, 32.71, 8.66)
CIE-LCHlch(18.47, 33.84, 14.83°)
OKLaboklab(31% 0.0988 0.0216)
OKLCHoklch(31% 0.101 12.3)
XYZxyz(4.5300, 2.6235, 1.7809)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581222 #125848
analogous
#581245 #581222 #582512
triadic
#581222 #225812 #122258
tetradic
#581222 #455812 #125848 #251258
square
#581222 #455812 #125848 #251258
split-complementary
#581222 #125825 #124558
monochromatic
#19050A #25080E #581222 #8B1C36 #BE2749

Accessibility & contrast

On white

13.77
#581222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581222
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581222#FFFFFF#000000##FFFFFF
##5812221.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242422
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#610119
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581222;
/* rgb */ color: rgb(88, 18, 34);
/* oklch */ color: oklch(31.0% 0.101 12.3);
Tailwind
colors: {
  custom: {
    50: '#8c575c',
    500: '#581222',
    950: '#000000',
  },
}
SCSS
$custom: #581222;
$custom-light: #8c575c;
$custom-dark: #000000;
JSON
{
  "hex": "#581222",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 346.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31,
    "c": 0.10113,
    "h": 12.3
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#581222
secondary
#35917C
accent
#E9C23F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #581222

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

Preview Lab → · Contrast checker → · Palette generator →

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