#5F221D#5F221D

#5F221D is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.3% C 0.090 H 27.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#5F221D
RGBrgb(95, 34, 29)
HSLhsl(5, 53%, 24%)
HSVhsv(5, 69%, 37%)
CMYKcmyk(0%, 64.2%, 69.5%, 62.7%)
CIE-LABlab(22.54, 27.45, 17.66)
CIE-LCHlch(22.54, 32.64, 32.76°)
OKLaboklab(34.27% 0.0801 0.0417)
OKLCHoklch(34.27% 0.09 27.5)
XYZxyz(5.5136, 3.6664, 1.5795)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F221D #1D5A5F
analogous
#5F1D39 #5F221D #5F431D
triadic
#5F221D #1D5F22 #221D5F
tetradic
#5F221D #395F1D #1D5A5F #431D5F
square
#5F221D #395F1D #1D5A5F #431D5F
split-complementary
#5F221D #1D5F43 #1D395F
monochromatic
#170807 #30110F #5F221D #8E332B #BD443A

Accessibility & contrast

On white

12.12
#5F221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F221D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F221D#FFFFFF#000000##FFFFFF
##5F221D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f221d;
/* rgb */ color: rgb(95, 34, 29);
/* oklch */ color: oklch(34.3% 0.090 27.5);
Tailwind
colors: {
  custom: {
    50: '#916059',
    500: '#5f221d',
    950: '#000000',
  },
}
SCSS
$custom: #5f221d;
$custom-light: #916059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f221d",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 4.545,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.09032,
    "h": 27.5
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#5F221D
secondary
#448E94
accent
#D2DD4B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F221D

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

Preview Lab → · Contrast checker → · Palette generator →

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