#5F220F#5F220F

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

Color values

HEX#5F220F
RGBrgb(95, 34, 15)
HSLhsl(14, 73%, 22%)
HSVhsv(14, 84%, 37%)
CMYKcmyk(0%, 64.2%, 84.2%, 62.7%)
CIE-LABlab(22.35, 26.67, 26.14)
CIE-LCHlch(22.35, 37.35, 44.42°)
OKLaboklab(34.07% 0.0747 0.0571)
OKLCHoklch(34.07% 0.094 37.4)
XYZxyz(5.3781, 3.6122, 0.8659)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F220F #0F4C5F
analogous
#5F0F24 #5F220F #5F4A0F
triadic
#5F220F #0F5F22 #220F5F
tetradic
#5F220F #245F0F #0F4C5F #4A0F5F
square
#5F220F #245F0F #0F4C5F #4A0F5F
split-complementary
#5F220F #0F5F4A #0F245F
monochromatic
#1A0904 #2A0F07 #5F220F #943517 #C94820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F220F#FFFFFF#000000##FFFFFF
##5F220F1.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)
#332D0C
Deuteranopia (green-blind)
#423B0D
Tritanopia (blue-blind)
#69131E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f220f;
/* rgb */ color: rgb(95, 34, 15);
/* oklch */ color: oklch(34.1% 0.094 37.4);
Tailwind
colors: {
  custom: {
    50: '#93604e',
    500: '#5f220f',
    950: '#000000',
  },
}
SCSS
$custom: #5f220f;
$custom-light: #93604e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f220f",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 15
  },
  "hsl": {
    "h": 14.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.09402,
    "h": 37.4
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#5F220F
secondary
#328098
accent
#C4EF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5F220F

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

Preview Lab → · Contrast checker → · Palette generator →

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