#5E221F#5E221F

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

Color values

HEX#5E221F
RGBrgb(94, 34, 31)
HSLhsl(3, 50%, 25%)
HSVhsv(3, 67%, 37%)
CMYKcmyk(0%, 63.8%, 67%, 63.1%)
CIE-LABlab(22.39, 27.19, 16.10)
CIE-LCHlch(22.39, 31.60, 30.64°)
OKLaboklab(34.13% 0.0799 0.0385)
OKLCHoklch(34.13% 0.089 25.7)
XYZxyz(5.4360, 3.6234, 1.7092)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E221F #1F5B5E
analogous
#5E1F3C #5E221F #5E421F
triadic
#5E221F #1F5E22 #221F5E
tetradic
#5E221F #3C5E1F #1F5B5E #421F5E
square
#5E221F #3C5E1F #1F5B5E #421F5E
split-complementary
#5E221F #1F5E42 #1F3C5E
monochromatic
#170808 #301110 #5E221F #8C332E #BA433D

Accessibility & contrast

On white

12.18
#5E221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E221F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E221F#FFFFFF#000000##FFFFFF
##5E221F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#671622
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e221f;
/* rgb */ color: rgb(94, 34, 31);
/* oklch */ color: oklch(34.1% 0.089 25.7);
Tailwind
colors: {
  custom: {
    50: '#90605a',
    500: '#5e221f',
    950: '#000000',
  },
}
SCSS
$custom: #5e221f;
$custom-light: #90605a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e221f",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 2.857,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34132,
    "c": 0.08864,
    "h": 25.7
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#5E221F
secondary
#468F93
accent
#D3DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E221F

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

Preview Lab → · Contrast checker → · Palette generator →

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