#5E1D2A#5E1D2A

#5E1D2A is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.7% C 0.095 H 11.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#5E1D2A
RGBrgb(94, 29, 42)
HSLhsl(348, 53%, 24%)
HSVhsv(348, 69%, 37%)
CMYKcmyk(0%, 69.1%, 55.3%, 63.1%)
CIE-LABlab(21.68, 30.69, 7.64)
CIE-LCHlch(21.68, 31.63, 13.98°)
OKLaboklab(33.68% 0.0929 0.0194)
OKLCHoklch(33.68% 0.095 11.8)
XYZxyz(5.4738, 3.4263, 2.5631)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D2A #1D5E51
analogous
#5E1D4B #5E1D2A #5E311D
triadic
#5E1D2A #2A5E1D #1D2A5E
tetradic
#5E1D2A #4B5E1D #1D5E51 #311D5E
square
#5E1D2A #4B5E1D #1D5E51 #311D5E
split-complementary
#5E1D2A #1D5E31 #1D4B5E
monochromatic
#17070A #2F0F15 #5E1D2A #8D2B3F #BC3A54

Accessibility & contrast

On white

12.46
#5E1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D2A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D2A#FFFFFF#000000##FFFFFF
##5E1D2A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2A
Deuteranopia (green-blind)
#3D3928
Tritanopia (blue-blind)
#671222
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1d2a;
/* rgb */ color: rgb(94, 29, 42);
/* oklch */ color: oklch(33.7% 0.095 11.8);
Tailwind
colors: {
  custom: {
    50: '#905d63',
    500: '#5e1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d2a;
$custom-light: #905d63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d2a",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 348,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.09487,
    "h": 11.8
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#5E1D2A
secondary
#449383
accent
#DCBF4C
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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