#5E2117#5E2117

#5E2117 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.8% C 0.092 H 31.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#5E2117
RGBrgb(94, 33, 23)
HSLhsl(8, 61%, 23%)
HSVhsv(8, 76%, 37%)
CMYKcmyk(0%, 64.9%, 75.5%, 63.1%)
CIE-LABlab(22.05, 27.18, 20.95)
CIE-LCHlch(22.05, 34.32, 37.63°)
OKLaboklab(33.84% 0.0781 0.048)
OKLCHoklch(33.84% 0.092 31.6)
XYZxyz(5.3151, 3.5300, 1.2119)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2117 #17545E
analogous
#5E1730 #5E2117 #5E4417
triadic
#5E2117 #175E21 #21175E
tetradic
#5E2117 #305E17 #17545E #44175E
square
#5E2117 #305E17 #17545E #44175E
split-complementary
#5E2117 #175E44 #17305E
monochromatic
#190906 #2D100B #5E2117 #8F3223 #C0442F

Accessibility & contrast

On white

12.31
#5E2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2117
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2117#FFFFFF#000000##FFFFFF
##5E21171.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C16
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#68131F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e2117;
/* rgb */ color: rgb(94, 33, 23);
/* oklch */ color: oklch(33.8% 0.092 31.6);
Tailwind
colors: {
  custom: {
    50: '#915f54',
    500: '#5e2117',
    950: '#000000',
  },
}
SCSS
$custom: #5e2117;
$custom-light: #915f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2117",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 8.451,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33839,
    "c": 0.09165,
    "h": 31.6
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#5E2117
secondary
#3C8895
accent
#CDE444
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5E2117

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

Preview Lab → · Contrast checker → · Palette generator →

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