#5E1829#5E1829

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

Color values

HEX#5E1829
RGBrgb(94, 24, 41)
HSLhsl(345, 59%, 23%)
HSVhsv(345, 74%, 37%)
CMYKcmyk(0%, 74.5%, 56.4%, 63.1%)
CIE-LABlab(20.80, 32.90, 7.13)
CIE-LCHlch(20.80, 33.67, 12.22°)
OKLaboklab(33.02% 0.0998 0.0181)
OKLCHoklch(33.02% 0.101 10.3)
XYZxyz(5.3434, 3.1938, 2.4325)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1829 #185E4D
analogous
#5E184C #5E1829 #5E2A18
triadic
#5E1829 #295E18 #18295E
tetradic
#5E1829 #4C5E18 #185E4D #2A185E
square
#5E1829 #4C5E18 #185E4D #2A185E
split-complementary
#5E1829 #185E2A #184C5E
monochromatic
#18060B #2D0C14 #5E1829 #8F243E #C03154

Accessibility & contrast

On white

12.82
#5E1829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1829
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1829#FFFFFF#000000##FFFFFF
##5E18291.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292929
Deuteranopia (green-blind)
#3B3727
Tritanopia (blue-blind)
#670A1F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1829;
/* rgb */ color: rgb(94, 24, 41);
/* oklch */ color: oklch(33.0% 0.101 10.3);
Tailwind
colors: {
  custom: {
    50: '#905b62',
    500: '#5e1829',
    950: '#000000',
  },
}
SCSS
$custom: #5e1829;
$custom-light: #905b62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1829",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 345.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33022,
    "c": 0.10142,
    "h": 10.3
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#5E1829
secondary
#3D947F
accent
#E3BC45
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1829

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

Preview Lab → · Contrast checker → · Palette generator →

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