#5F220E#5F220E

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

Color values

HEX#5F220E
RGBrgb(95, 34, 14)
HSLhsl(15, 74%, 21%)
HSVhsv(15, 85%, 37%)
CMYKcmyk(0%, 64.2%, 85.3%, 62.7%)
CIE-LABlab(22.34, 26.63, 26.65)
CIE-LCHlch(22.34, 37.68, 45.02°)
OKLaboklab(34.06% 0.0744 0.058)
OKLCHoklch(34.06% 0.094 37.9)
XYZxyz(5.3712, 3.6094, 0.8292)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F220E #0E4B5F
analogous
#5F0E23 #5F220E #5F4B0E
triadic
#5F220E #0E5F22 #220E5F
tetradic
#5F220E #235F0E #0E4B5F #4B0E5F
square
#5F220E #235F0E #0E4B5F #4B0E5F
split-complementary
#5F220E #0E5F4B #0E235F
monochromatic
#1B0A04 #2A0F06 #5F220E #943516 #CA481E

Accessibility & contrast

On white

12.20
#5F220E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F220E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F220E#FFFFFF#000000##FFFFFF
##5F220E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0B
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#69131E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f220e;
/* rgb */ color: rgb(95, 34, 14);
/* oklch */ color: oklch(34.1% 0.094 37.9);
Tailwind
colors: {
  custom: {
    50: '#93604e',
    500: '#5f220e',
    950: '#000000',
  },
}
SCSS
$custom: #5f220e;
$custom-light: #93604e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f220e",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 14
  },
  "hsl": {
    "h": 14.815,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34055,
    "c": 0.09429,
    "h": 37.9
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#5F220E
secondary
#307F99
accent
#C3F137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0501
muted
#7E7977

Preview Lab

Preview with #5F220E

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

Preview Lab → · Contrast checker → · Palette generator →

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