#5F211B#5F211B

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

Color values

HEX#5F211B
RGBrgb(95, 33, 27)
HSLhsl(5, 56%, 24%)
HSVhsv(5, 72%, 37%)
CMYKcmyk(0%, 65.3%, 71.6%, 62.7%)
CIE-LABlab(22.30, 27.84, 18.70)
CIE-LCHlch(22.30, 33.54, 33.89°)
OKLaboklab(34.09% 0.0809 0.0437)
OKLCHoklch(34.09% 0.092 28.4)
XYZxyz(5.4615, 3.6005, 1.4441)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F211B #1B595F
analogous
#5F1B37 #5F211B #5F431B
triadic
#5F211B #1B5F21 #211B5F
tetradic
#5F211B #375F1B #1B595F #431B5F
square
#5F211B #375F1B #1B595F #431B5F
split-complementary
#5F211B #1B5F43 #1B375F
monochromatic
#180807 #2F100D #5F211B #8F3229 #BE4236

Accessibility & contrast

On white

12.21
#5F211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F211B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F211B#FFFFFF#000000##FFFFFF
##5F211B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1A
Deuteranopia (green-blind)
#413A19
Tritanopia (blue-blind)
#691420
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f211b;
/* rgb */ color: rgb(95, 33, 27);
/* oklch */ color: oklch(34.1% 0.092 28.4);
Tailwind
colors: {
  custom: {
    50: '#925f57',
    500: '#5f211b',
    950: '#000000',
  },
}
SCSS
$custom: #5f211b;
$custom-light: #925f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f211b",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 5.294,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.09196,
    "h": 28.4
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#5F211B
secondary
#418D95
accent
#D2DF49
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F211B

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

Preview Lab → · Contrast checker → · Palette generator →

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