#5E1313#5E1313

#5E1313 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 25.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5E1313
RGBrgb(94, 19, 19)
HSLhsl(0, 66%, 22%)
HSVhsv(0, 80%, 37%)
CMYKcmyk(0%, 79.8%, 79.8%, 63.1%)
CIE-LABlab(19.61, 33.44, 20.75)
CIE-LCHlch(19.61, 39.36, 31.83°)
OKLaboklab(31.99% 0.0968 0.0466)
OKLCHoklch(31.99% 0.107 25.7)
XYZxyz(4.9671, 2.8932, 0.9129)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1313 #135E5E
analogous
#5E1339 #5E1313 #5E3913
triadic
#5E1313 #135E13 #13135E
tetradic
#5E1313 #395E13 #135E5E #39135E
square
#5E1313 #395E13 #135E5E #39135E
split-complementary
#5E1313 #135E39 #13395E
monochromatic
#190505 #2B0909 #5E1313 #911D1D #C42828

Accessibility & contrast

On white

13.30
#5E1313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E1313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1313
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1313#FFFFFF#000000##FFFFFF
##5E13131.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292512
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#680014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1313;
/* rgb */ color: rgb(94, 19, 19);
/* oklch */ color: oklch(32.0% 0.107 25.7);
Tailwind
colors: {
  custom: {
    50: '#925850',
    500: '#5e1313',
    950: '#000000',
  },
}
SCSS
$custom: #5e1313;
$custom-light: #925850;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1313",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.10745,
    "h": 25.7
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#5E1313
secondary
#379696
accent
#E9E93F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1313

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

Preview Lab → · Contrast checker → · Palette generator →

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