#581213#581213

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

Color values

HEX#581213
RGBrgb(88, 18, 19)
HSLhsl(359, 66%, 21%)
HSVhsv(359, 80%, 35%)
CMYKcmyk(0%, 79.5%, 78.4%, 65.5%)
CIE-LABlab(18.17, 31.70, 18.74)
CIE-LCHlch(18.17, 36.83, 30.58°)
OKLaboklab(30.68% 0.0922 0.0427)
OKLCHoklch(30.68% 0.102 24.8)
XYZxyz(4.3588, 2.5550, 0.8796)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581213 #125857
analogous
#581236 #581213 #583412
triadic
#581213 #135812 #121358
tetradic
#581213 #365812 #125857 #341258
square
#581213 #365812 #125857 #341258
split-complementary
#581213 #125834 #123658
monochromatic
#190505 #250808 #581213 #8B1C1E #BE2729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##581213#FFFFFF#000000##FFFFFF
##5812131.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)
#272312
Deuteranopia (green-blind)
#383211
Tritanopia (blue-blind)
#620013
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #581213;
/* rgb */ color: rgb(88, 18, 19);
/* oklch */ color: oklch(30.7% 0.102 24.8);
Tailwind
colors: {
  custom: {
    50: '#8d5650',
    500: '#581213',
    950: '#000000',
  },
}
SCSS
$custom: #581213;
$custom-light: #8d5650;
$custom-dark: #000000;
JSON
{
  "hex": "#581213",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30678,
    "c": 0.10157,
    "h": 24.8
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#581213
secondary
#35918F
accent
#E9E73F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #581213

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

Preview Lab → · Contrast checker → · Palette generator →

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