#581223#581223

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

Color values

HEX#581223
RGBrgb(88, 18, 35)
HSLhsl(345, 66%, 21%)
HSVhsv(345, 80%, 35%)
CMYKcmyk(0%, 79.5%, 60.2%, 65.5%)
CIE-LABlab(18.49, 32.80, 7.98)
CIE-LCHlch(18.49, 33.76, 13.68°)
OKLaboklab(31.03% 0.0992 0.02)
OKLCHoklch(31.03% 0.101 11.4)
XYZxyz(4.5446, 2.6293, 1.8580)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581223 #125847
analogous
#581246 #581223 #582412
triadic
#581223 #235812 #122358
tetradic
#581223 #465812 #125847 #241258
square
#581223 #465812 #125847 #241258
split-complementary
#581223 #125824 #124658
monochromatic
#19050A #25080F #581223 #8B1C37 #BE274B

Accessibility & contrast

On white

13.76
#581223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#581223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581223
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581223#FFFFFF#000000##FFFFFF
##5812231.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242423
Deuteranopia (green-blind)
#363221
Tritanopia (blue-blind)
#610219
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #581223;
/* rgb */ color: rgb(88, 18, 35);
/* oklch */ color: oklch(31.0% 0.101 11.4);
Tailwind
colors: {
  custom: {
    50: '#8c575d',
    500: '#581223',
    950: '#000000',
  },
}
SCSS
$custom: #581223;
$custom-light: #8c575d;
$custom-dark: #000000;
JSON
{
  "hex": "#581223",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 345.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31027,
    "c": 0.10125,
    "h": 11.4
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#581223
secondary
#35917A
accent
#E9C03F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #581223

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

Preview Lab → · Contrast checker → · Palette generator →

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