#5E1312#5E1312

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

Color values

HEX#5E1312
RGBrgb(94, 19, 18)
HSLhsl(1, 68%, 22%)
HSVhsv(1, 81%, 37%)
CMYKcmyk(0%, 79.8%, 80.9%, 63.1%)
CIE-LABlab(19.60, 33.39, 21.36)
CIE-LCHlch(19.60, 39.64, 32.61°)
OKLaboklab(31.98% 0.0964 0.0477)
OKLCHoklch(31.98% 0.108 26.3)
XYZxyz(4.9587, 2.8899, 0.8689)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1312 #125D5E
analogous
#5E1237 #5E1312 #5E3912
triadic
#5E1312 #125E13 #13125E
tetradic
#5E1312 #375E12 #125D5E #39125E
square
#5E1312 #375E12 #125D5E #39125E
split-complementary
#5E1312 #125E39 #12375E
monochromatic
#1A0505 #2B0908 #5E1312 #911D1C #C52826

Accessibility & contrast

On white

13.31
#5E1312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1312
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1312#FFFFFF#000000##FFFFFF
##5E13121.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1312;
/* rgb */ color: rgb(94, 19, 18);
/* oklch */ color: oklch(32.0% 0.108 26.3);
Tailwind
colors: {
  custom: {
    50: '#925850',
    500: '#5e1312',
    950: '#000000',
  },
}
SCSS
$custom: #5e1312;
$custom-light: #925850;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1312",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.10759,
    "h": 26.3
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#5E1312
secondary
#359596
accent
#E8EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1312

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

Preview Lab → · Contrast checker → · Palette generator →

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