#5F221B#5F221B

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

Color values

HEX#5F221B
RGBrgb(95, 34, 27)
HSLhsl(6, 56%, 24%)
HSVhsv(6, 72%, 37%)
CMYKcmyk(0%, 64.2%, 71.6%, 62.7%)
CIE-LABlab(22.50, 27.31, 18.94)
CIE-LCHlch(22.50, 33.24, 34.74°)
OKLaboklab(34.23% 0.0793 0.0442)
OKLCHoklch(34.23% 0.091 29.2)
XYZxyz(5.4897, 3.6568, 1.4535)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F221B #1B585F
analogous
#5F1B36 #5F221B #5F441B
triadic
#5F221B #1B5F22 #221B5F
tetradic
#5F221B #365F1B #1B585F #441B5F
square
#5F221B #365F1B #1B585F #441B5F
split-complementary
#5F221B #1B5F44 #1B365F
monochromatic
#180907 #2F110D #5F221B #8F3329 #BE4436

Accessibility & contrast

On white

12.13
#5F221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F221B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F221B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F221B#FFFFFF#000000##FFFFFF
##5F221B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D1A
Deuteranopia (green-blind)
#413B19
Tritanopia (blue-blind)
#691521
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f221b;
/* rgb */ color: rgb(95, 34, 27);
/* oklch */ color: oklch(34.2% 0.091 29.2);
Tailwind
colors: {
  custom: {
    50: '#926057',
    500: '#5f221b',
    950: '#000000',
  },
}
SCSS
$custom: #5f221b;
$custom-light: #926057;
$custom-dark: #000000;
JSON
{
  "hex": "#5f221b",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 6.176,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34234,
    "c": 0.09077,
    "h": 29.2
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#5F221B
secondary
#418C95
accent
#D0DF49
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F221B

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

Preview Lab → · Contrast checker → · Palette generator →

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