#5E211F#5E211F

#5E211F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.090 H 24.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#5E211F
RGBrgb(94, 33, 31)
HSLhsl(2, 50%, 25%)
HSVhsv(2, 67%, 37%)
CMYKcmyk(0%, 64.9%, 67%, 63.1%)
CIE-LABlab(22.18, 27.72, 15.85)
CIE-LCHlch(22.18, 31.93, 29.76°)
OKLaboklab(33.98% 0.0815 0.0379)
OKLCHoklch(33.98% 0.09 24.9)
XYZxyz(5.4078, 3.5670, 1.6998)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E211F #1F5C5E
analogous
#5E1F3D #5E211F #5E411F
triadic
#5E211F #1F5E21 #211F5E
tetradic
#5E211F #3D5E1F #1F5C5E #411F5E
square
#5E211F #3D5E1F #1F5C5E #411F5E
split-complementary
#5E211F #1F5E41 #1F3D5E
monochromatic
#170808 #301110 #5E211F #8C312E #BA413D

Accessibility & contrast

On white

12.26
#5E211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E211F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E211F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E211F#FFFFFF#000000##FFFFFF
##5E211F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e211f;
/* rgb */ color: rgb(94, 33, 31);
/* oklch */ color: oklch(34.0% 0.090 24.9);
Tailwind
colors: {
  custom: {
    50: '#905f5a',
    500: '#5e211f',
    950: '#000000',
  },
}
SCSS
$custom: #5e211f;
$custom-light: #905f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e211f",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 1.905,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33981,
    "c": 0.08989,
    "h": 24.9
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#5E211F
secondary
#469093
accent
#D5DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E211F

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

Preview Lab → · Contrast checker → · Palette generator →

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