#5E221C#5E221C

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

Color values

HEX#5E221C
RGBrgb(94, 34, 28)
HSLhsl(5, 54%, 24%)
HSVhsv(5, 70%, 37%)
CMYKcmyk(0%, 63.8%, 70.2%, 63.1%)
CIE-LABlab(22.33, 26.97, 18.03)
CIE-LCHlch(22.33, 32.44, 33.77°)
OKLaboklab(34.08% 0.0785 0.0424)
OKLCHoklch(34.08% 0.089 28.4)
XYZxyz(5.3982, 3.6083, 1.5106)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E221C #1C585E
analogous
#5E1C37 #5E221C #5E431C
triadic
#5E221C #1C5E22 #221C5E
tetradic
#5E221C #375E1C #1C585E #431C5E
square
#5E221C #375E1C #1C585E #431C5E
split-complementary
#5E221C #1C5E43 #1C375E
monochromatic
#180907 #2F110E #5E221C #8D332A #BC4438

Accessibility & contrast

On white

12.20
#5E221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E221C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E221C#FFFFFF#000000##FFFFFF
##5E221C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D1B
Deuteranopia (green-blind)
#413A1A
Tritanopia (blue-blind)
#681621
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e221c;
/* rgb */ color: rgb(94, 34, 28);
/* oklch */ color: oklch(34.1% 0.089 28.4);
Tailwind
colors: {
  custom: {
    50: '#916058',
    500: '#5e221c',
    950: '#000000',
  },
}
SCSS
$custom: #5e221c;
$custom-light: #916058;
$custom-dark: #000000;
JSON
{
  "hex": "#5e221c",
  "rgb": {
    "r": 94,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 5.455,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34075,
    "c": 0.08926,
    "h": 28.4
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#5E221C
secondary
#428C93
accent
#D0DD4A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E221C

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

Preview Lab → · Contrast checker → · Palette generator →

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