#5E1E2E#5E1E2E

#5E1E2E is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.9% C 0.094 H 8.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5E1E2E
RGBrgb(94, 30, 46)
HSLhsl(345, 52%, 24%)
HSVhsv(345, 68%, 37%)
CMYKcmyk(0%, 68.1%, 51.1%, 63.1%)
CIE-LABlab(21.97, 30.61, 5.27)
CIE-LCHlch(21.97, 31.06, 9.77°)
OKLaboklab(33.93% 0.093 0.0137)
OKLCHoklch(33.93% 0.094 8.4)
XYZxyz(5.5739, 3.5062, 2.9675)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E2E #1E5E4E
analogous
#5E1E4E #5E1E2E #5E2E1E
triadic
#5E1E2E #2E5E1E #1E2E5E
tetradic
#5E1E2E #4E5E1E #1E5E4E #2E1E5E
square
#5E1E2E #4E5E1E #1E5E4E #2E1E5E
split-complementary
#5E1E2E #1E5E2E #1E4E5E
monochromatic
#17070B #300F17 #5E1E2E #8C2D45 #BB3C5B

Accessibility & contrast

On white

12.35
#5E1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E1E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E2E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E2E#FFFFFF#000000##FFFFFF
##5E1E2E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#3D392C
Tritanopia (blue-blind)
#671524
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1e2e;
/* rgb */ color: rgb(94, 30, 46);
/* oklch */ color: oklch(33.9% 0.094 8.4);
Tailwind
colors: {
  custom: {
    50: '#8f5e66',
    500: '#5e1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e2e;
$custom-light: #8f5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e2e",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 345,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33933,
    "c": 0.09405,
    "h": 8.4
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#5E1E2E
secondary
#45937F
accent
#DBB74D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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