#5C221F#5C221F

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

Color values

HEX#5C221F
RGBrgb(92, 34, 31)
HSLhsl(3, 50%, 24%)
HSVhsv(3, 66%, 36%)
CMYKcmyk(0%, 63%, 66.3%, 63.9%)
CIE-LABlab(22.01, 26.37, 15.56)
CIE-LCHlch(22.01, 30.62, 30.53°)
OKLaboklab(33.78% 0.0775 0.0373)
OKLCHoklch(33.78% 0.086 25.7)
XYZxyz(5.2335, 3.5190, 1.6997)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C221F #1F595C
analogous
#5C1F3B #5C221F #5C411F
triadic
#5C221F #1F5C22 #221F5C
tetradic
#5C221F #3B5C1F #1F595C #411F5C
square
#5C221F #3B5C1F #1F595C #411F5C
split-complementary
#5C221F #1F5C41 #1F3B5C
monochromatic
#170808 #2E1110 #5C221F #8A332E #B8443E

Accessibility & contrast

On white

12.33
#5C221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5C221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C221F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C221F#FFFFFF#000000##FFFFFF
##5C221F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#3F391E
Tritanopia (blue-blind)
#651722
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c221f;
/* rgb */ color: rgb(92, 34, 31);
/* oklch */ color: oklch(33.8% 0.086 25.7);
Tailwind
colors: {
  custom: {
    50: '#8f605a',
    500: '#5c221f',
    950: '#000000',
  },
}
SCSS
$custom: #5c221f;
$custom-light: #8f605a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c221f",
  "rgb": {
    "r": 92,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 2.951,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.08604,
    "h": 25.7
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#5C221F
secondary
#468D91
accent
#D2D94F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5C221F

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

Preview Lab → · Contrast checker → · Palette generator →

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