#5F211E#5F211E

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

Color values

HEX#5F211E
RGBrgb(95, 33, 30)
HSLhsl(3, 52%, 25%)
HSVhsv(3, 68%, 37%)
CMYKcmyk(0%, 65.3%, 68.4%, 62.7%)
CIE-LABlab(22.36, 28.04, 16.78)
CIE-LCHlch(22.36, 32.68, 30.89°)
OKLaboklab(34.14% 0.0822 0.0398)
OKLCHoklch(34.14% 0.091 25.9)
XYZxyz(5.4980, 3.6151, 1.6363)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F211E #1E5C5F
analogous
#5F1E3C #5F211E #5F421E
triadic
#5F211E #1E5F21 #211E5F
tetradic
#5F211E #3C5F1E #1E5C5F #421E5F
square
#5F211E #3C5F1E #1E5C5F #421E5F
split-complementary
#5F211E #1E5F42 #1E3C5F
monochromatic
#170807 #30110F #5F211E #8E312D #BC413B

Accessibility & contrast

On white

12.19
#5F211E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F211E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F211E#FFFFFF#000000##FFFFFF
##5F211E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#413A1C
Tritanopia (blue-blind)
#691421
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f211e;
/* rgb */ color: rgb(95, 33, 30);
/* oklch */ color: oklch(34.1% 0.091 25.9);
Tailwind
colors: {
  custom: {
    50: '#915f59',
    500: '#5f211e',
    950: '#000000',
  },
}
SCSS
$custom: #5f211e;
$custom-light: #915f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f211e",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 30
  },
  "hsl": {
    "h": 2.769,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.09135,
    "h": 25.9
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#5F211E
secondary
#459094
accent
#D5DB4C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F211E

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

Preview Lab → · Contrast checker → · Palette generator →

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