#5F211F#5F211F

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

Color values

HEX#5F211F
RGBrgb(95, 33, 31)
HSLhsl(2, 51%, 25%)
HSVhsv(2, 67%, 37%)
CMYKcmyk(0%, 65.3%, 67.4%, 62.7%)
CIE-LABlab(22.37, 28.12, 16.13)
CIE-LCHlch(22.37, 32.42, 29.84°)
OKLaboklab(34.16% 0.0827 0.0385)
OKLCHoklch(34.16% 0.091 25)
XYZxyz(5.5110, 3.6203, 1.7046)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F211F #1F5D5F
analogous
#5F1F3D #5F211F #5F411F
triadic
#5F211F #1F5F21 #211F5F
tetradic
#5F211F #3D5F1F #1F5D5F #411F5F
square
#5F211F #3D5F1F #1F5D5F #411F5F
split-complementary
#5F211F #1F5F41 #1F3D5F
monochromatic
#170808 #311110 #5F211F #8D312E #BB413D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F211F#FFFFFF#000000##FFFFFF
##5F211F1.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)
#403A1D
Tritanopia (blue-blind)
#691421
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f211f;
/* rgb */ color: rgb(95, 33, 31);
/* oklch */ color: oklch(34.2% 0.091 25.0);
Tailwind
colors: {
  custom: {
    50: '#915f5a',
    500: '#5f211f',
    950: '#000000',
  },
}
SCSS
$custom: #5f211f;
$custom-light: #915f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f211f",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 1.875,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.09118,
    "h": 25
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#5F211F
secondary
#469194
accent
#D6DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F211F

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

Preview Lab → · Contrast checker → · Palette generator →

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