#5E2312#5E2312

#5E2312 is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.1% C 0.091 H 36.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5E2312
RGBrgb(94, 35, 18)
HSLhsl(13, 68%, 22%)
HSVhsv(13, 81%, 37%)
CMYKcmyk(0%, 62.8%, 80.9%, 63.1%)
CIE-LABlab(22.39, 25.85, 24.43)
CIE-LCHlch(22.39, 35.57, 43.38°)
OKLaboklab(34.08% 0.0729 0.0543)
OKLCHoklch(34.08% 0.091 36.7)
XYZxyz(5.3269, 3.6261, 0.9916)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2312 #124D5E
analogous
#5E1227 #5E2312 #5E4912
triadic
#5E2312 #125E23 #23125E
tetradic
#5E2312 #275E12 #124D5E #49125E
square
#5E2312 #275E12 #124D5E #49125E
split-complementary
#5E2312 #125E49 #12275E
monochromatic
#1A0A05 #2B1008 #5E2312 #91361C #C54926

Accessibility & contrast

On white

12.17
#5E2312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E2312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2312
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2312#FFFFFF#000000##FFFFFF
##5E23121.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D10
Deuteranopia (green-blind)
#423A10
Tritanopia (blue-blind)
#68161F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e2312;
/* rgb */ color: rgb(94, 35, 18);
/* oklch */ color: oklch(34.1% 0.091 36.7);
Tailwind
colors: {
  custom: {
    50: '#916051',
    500: '#5e2312',
    950: '#000000',
  },
}
SCSS
$custom: #5e2312;
$custom-light: #916051;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2312",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 13.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34077,
    "c": 0.09087,
    "h": 36.7
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#5E2312
secondary
#358196
accent
#C4EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5E2312

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

Preview Lab → · Contrast checker → · Palette generator →

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