#5F342D#5F342D

#5F342D is a dark, moderate red. Relative luminance 0.051; OKLCH L 37.7% C 0.064 H 30.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#5F342D
RGBrgb(95, 52, 45)
HSLhsl(8, 36%, 27%)
HSVhsv(8, 53%, 37%)
CMYKcmyk(0%, 45.3%, 52.6%, 62.7%)
CIE-LABlab(26.96, 18.48, 12.84)
CIE-LCHlch(26.96, 22.50, 34.79°)
OKLaboklab(37.73% 0.055 0.032)
OKLCHoklch(37.73% 0.064 30.2)
XYZxyz(6.4214, 5.0789, 3.1243)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F342D #2D585F
analogous
#5F2D3F #5F342D #5F4D2D
triadic
#5F342D #2D5F34 #342D5F
tetradic
#5F342D #3F5F2D #2D585F #4D2D5F
square
#5F342D #3F5F2D #2D585F #4D2D5F
split-complementary
#5F342D #2D5F4D #2D3F5F
monochromatic
#150B0A #351D19 #5F342D #894B41 #AF6357

Accessibility & contrast

On white

10.42
#5F342D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5F342D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F342D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F342D#FFFFFF#000000##FFFFFF
##5F342D1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2C
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#672E32
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5f342d;
/* rgb */ color: rgb(95, 52, 45);
/* oklch */ color: oklch(37.7% 0.064 30.2);
Tailwind
colors: {
  custom: {
    50: '#8f6c66',
    500: '#5f342d',
    950: '#000000',
  },
}
SCSS
$custom: #5f342d;
$custom-light: #8f6c66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f342d",
  "rgb": {
    "r": 95,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 8.4,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.06362,
    "h": 30.2
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#5F342D
secondary
#578991
accent
#BCCC5C
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0705
muted
#7E7A7A

Preview Lab

Preview with #5F342D

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

Preview Lab → · Contrast checker → · Palette generator →

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