#5E221E#5E221E

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

Color values

HEX#5E221E
RGBrgb(94, 34, 30)
HSLhsl(4, 52%, 24%)
HSVhsv(4, 68%, 37%)
CMYKcmyk(0%, 63.8%, 68.1%, 63.1%)
CIE-LABlab(22.37, 27.11, 16.75)
CIE-LCHlch(22.37, 31.87, 31.70°)
OKLaboklab(34.11% 0.0794 0.0398)
OKLCHoklch(34.11% 0.089 26.6)
XYZxyz(5.4230, 3.6182, 1.6409)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E221E #1E5A5E
analogous
#5E1E3A #5E221E #5E421E
triadic
#5E221E #1E5E22 #221E5E
tetradic
#5E221E #3A5E1E #1E5A5E #421E5E
square
#5E221E #3A5E1E #1E5A5E #421E5E
split-complementary
#5E221E #1E5E42 #1E3A5E
monochromatic
#170807 #30110F #5E221E #8C332D #BB443C

Accessibility & contrast

On white

12.19
#5E221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E221E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E221E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E221E#FFFFFF#000000##FFFFFF
##5E221E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#403A1C
Tritanopia (blue-blind)
#671621
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e221e;
/* rgb */ color: rgb(94, 34, 30);
/* oklch */ color: oklch(34.1% 0.089 26.6);
Tailwind
colors: {
  custom: {
    50: '#906059',
    500: '#5e221e',
    950: '#000000',
  },
}
SCSS
$custom: #5e221e;
$custom-light: #906059;
$custom-dark: #000000;
JSON
{
  "hex": "#5e221e",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 3.75,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.08883,
    "h": 26.6
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#5E221E
secondary
#458E93
accent
#D2DB4D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E221E

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

Preview Lab → · Contrast checker → · Palette generator →

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