#5F211A#5F211A

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

Color values

HEX#5F211A
RGBrgb(95, 33, 26)
HSLhsl(6, 57%, 24%)
HSVhsv(6, 73%, 37%)
CMYKcmyk(0%, 65.3%, 72.6%, 62.7%)
CIE-LABlab(22.29, 27.78, 19.34)
CIE-LCHlch(22.29, 33.84, 34.84°)
OKLaboklab(34.07% 0.0805 0.0449)
OKLCHoklch(34.07% 0.092 29.2)
XYZxyz(5.4502, 3.5959, 1.3842)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F211A #1A585F
analogous
#5F1A35 #5F211A #5F431A
triadic
#5F211A #1A5F21 #211A5F
tetradic
#5F211A #355F1A #1A585F #431A5F
square
#5F211A #355F1A #1A585F #431A5F
split-complementary
#5F211A #1A5F43 #1A355F
monochromatic
#180807 #2F100D #5F211A #8F3227 #BF4234

Accessibility & contrast

On white

12.22
#5F211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F211A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F211A#FFFFFF#000000##FFFFFF
##5F211A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D19
Deuteranopia (green-blind)
#413A18
Tritanopia (blue-blind)
#691320
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f211a;
/* rgb */ color: rgb(95, 33, 26);
/* oklch */ color: oklch(34.1% 0.092 29.2);
Tailwind
colors: {
  custom: {
    50: '#925f56',
    500: '#5f211a',
    950: '#000000',
  },
}
SCSS
$custom: #5f211a;
$custom-light: #925f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f211a",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 6.087,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.09218,
    "h": 29.2
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#5F211A
secondary
#408C95
accent
#D1E048
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F211A

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

Preview Lab → · Contrast checker → · Palette generator →

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