#5E1E27#5E1E27

#5E1E27 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.093 H 15.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5E1E27
RGBrgb(94, 30, 39)
HSLhsl(352, 52%, 24%)
HSVhsv(352, 68%, 37%)
CMYKcmyk(0%, 68.1%, 58.5%, 63.1%)
CIE-LABlab(21.78, 29.92, 9.86)
CIE-LCHlch(21.78, 31.50, 18.25°)
OKLaboklab(33.74% 0.09 0.0246)
OKLCHoklch(33.74% 0.093 15.3)
XYZxyz(5.4470, 3.4554, 2.2992)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E27 #1E5E55
analogous
#5E1E47 #5E1E27 #5E351E
triadic
#5E1E27 #275E1E #1E275E
tetradic
#5E1E27 #475E1E #1E5E55 #351E5E
square
#5E1E27 #475E1E #1E5E55 #351E5E
split-complementary
#5E1E27 #1E5E35 #1E475E
monochromatic
#17070A #300F14 #5E1E27 #8C2D3A #BB3C4D

Accessibility & contrast

On white

12.42
#5E1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1E27
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E27#FFFFFF#000000##FFFFFF
##5E1E271.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C27
Deuteranopia (green-blind)
#3E3925
Tritanopia (blue-blind)
#671322
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1e27;
/* rgb */ color: rgb(94, 30, 39);
/* oklch */ color: oklch(33.7% 0.093 15.3);
Tailwind
colors: {
  custom: {
    50: '#905e60',
    500: '#5e1e27',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e27;
$custom-light: #905e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e27",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 351.563,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33735,
    "c": 0.09328,
    "h": 15.3
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#5E1E27
secondary
#459388
accent
#DBC74D
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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