#5E1820#5E1820

#5E1820 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.101 H 18.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5E1820
RGBrgb(94, 24, 32)
HSLhsl(353, 59%, 23%)
HSVhsv(353, 74%, 37%)
CMYKcmyk(0%, 74.5%, 66%, 63.1%)
CIE-LABlab(20.59, 32.15, 13.12)
CIE-LCHlch(20.59, 34.73, 22.19°)
OKLaboklab(32.79% 0.0958 0.0318)
OKLCHoklch(32.79% 0.101 18.4)
XYZxyz(5.2040, 3.1380, 1.6979)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1820 #185E56
analogous
#5E1843 #5E1820 #5E3318
triadic
#5E1820 #205E18 #18205E
tetradic
#5E1820 #435E18 #185E56 #33185E
square
#5E1820 #435E18 #185E56 #33185E
split-complementary
#5E1820 #185E33 #18435E
monochromatic
#180608 #2D0C0F #5E1820 #8F2431 #C03141

Accessibility & contrast

On white

12.90
#5E1820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1820
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1820#FFFFFF#000000##FFFFFF
##5E18201.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2820
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#68061B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1820;
/* rgb */ color: rgb(94, 24, 32);
/* oklch */ color: oklch(32.8% 0.101 18.4);
Tailwind
colors: {
  custom: {
    50: '#915a5b',
    500: '#5e1820',
    950: '#000000',
  },
}
SCSS
$custom: #5e1820;
$custom-light: #915a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1820",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 353.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.10091,
    "h": 18.4
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#5E1820
secondary
#3D948B
accent
#E3D145
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5E1820

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva