#5E2012#5E2012

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

Color values

HEX#5E2012
RGBrgb(94, 32, 18)
HSLhsl(11, 68%, 22%)
HSVhsv(11, 81%, 37%)
CMYKcmyk(0%, 66%, 80.9%, 63.1%)
CIE-LABlab(21.79, 27.44, 23.79)
CIE-LCHlch(21.79, 36.32, 40.92°)
OKLaboklab(33.62% 0.0778 0.0529)
OKLCHoklch(33.62% 0.094 34.2)
XYZxyz(5.2423, 3.4571, 0.9634)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2012 #12505E
analogous
#5E122A #5E2012 #5E4612
triadic
#5E2012 #125E20 #20125E
tetradic
#5E2012 #2A5E12 #12505E #46125E
square
#5E2012 #2A5E12 #12505E #46125E
split-complementary
#5E2012 #125E46 #122A5E
monochromatic
#1A0905 #2B0F08 #5E2012 #91311C #C54326

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E2012#FFFFFF#000000##FFFFFF
##5E20121.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)
#312C10
Deuteranopia (green-blind)
#413910
Tritanopia (blue-blind)
#68111D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e2012;
/* rgb */ color: rgb(94, 32, 18);
/* oklch */ color: oklch(33.6% 0.094 34.2);
Tailwind
colors: {
  custom: {
    50: '#925e50',
    500: '#5e2012',
    950: '#000000',
  },
}
SCSS
$custom: #5e2012;
$custom-light: #925e50;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2012",
  "rgb": {
    "r": 94,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 11.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33619,
    "c": 0.09408,
    "h": 34.2
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#5E2012
secondary
#358496
accent
#CBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E2012

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

Preview Lab → · Contrast checker → · Palette generator →

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