#5E1823#5E1823

#5E1823 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.101 H 15.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5E1823
RGBrgb(94, 24, 35)
HSLhsl(351, 59%, 23%)
HSVhsv(351, 74%, 37%)
CMYKcmyk(0%, 74.5%, 62.8%, 63.1%)
CIE-LABlab(20.65, 32.39, 11.12)
CIE-LCHlch(20.65, 34.24, 18.95°)
OKLaboklab(32.86% 0.0971 0.0274)
OKLCHoklch(32.86% 0.101 15.7)
XYZxyz(5.2466, 3.1550, 1.9225)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1823 #185E53
analogous
#5E1846 #5E1823 #5E3018
triadic
#5E1823 #235E18 #18235E
tetradic
#5E1823 #465E18 #185E53 #30185E
square
#5E1823 #465E18 #185E53 #30185E
split-complementary
#5E1823 #185E30 #18465E
monochromatic
#180609 #2D0C11 #5E1823 #8F2435 #C03147

Accessibility & contrast

On white

12.88
#5E1823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1823
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1823#FFFFFF#000000##FFFFFF
##5E18231.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2823
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#67071D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1823;
/* rgb */ color: rgb(94, 24, 35);
/* oklch */ color: oklch(32.9% 0.101 15.7);
Tailwind
colors: {
  custom: {
    50: '#915a5d',
    500: '#5e1823',
    950: '#000000',
  },
}
SCSS
$custom: #5e1823;
$custom-light: #915a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1823",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 35
  },
  "hsl": {
    "h": 350.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.10091,
    "h": 15.7
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#5E1823
secondary
#3D9487
accent
#E3CA45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5E1823

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

Preview Lab → · Contrast checker → · Palette generator →

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