#5F342C#5F342C

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

Color values

HEX#5F342C
RGBrgb(95, 52, 44)
HSLhsl(9, 37%, 27%)
HSVhsv(9, 54%, 37%)
CMYKcmyk(0%, 45.3%, 53.7%, 62.7%)
CIE-LABlab(26.94, 18.37, 13.46)
CIE-LCHlch(26.94, 22.77, 36.24°)
OKLaboklab(37.71% 0.0546 0.0334)
OKLCHoklch(37.71% 0.064 31.5)
XYZxyz(6.4023, 5.0713, 3.0241)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F342C #2C575F
analogous
#5F2C3D #5F342C #5F4E2C
triadic
#5F342C #2C5F34 #342C5F
tetradic
#5F342C #3D5F2C #2C575F #4E2C5F
square
#5F342C #3D5F2C #2C575F #4E2C5F
split-complementary
#5F342C #2C5F4E #2C3D5F
monochromatic
#150B0A #351D19 #5F342C #894B3F #B06355

Accessibility & contrast

On white

10.43
#5F342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5F342C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F342C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F342C#FFFFFF#000000##FFFFFF
##5F342C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#49432B
Tritanopia (blue-blind)
#672D32
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5f342c;
/* rgb */ color: rgb(95, 52, 44);
/* oklch */ color: oklch(37.7% 0.064 31.5);
Tailwind
colors: {
  custom: {
    50: '#8f6c65',
    500: '#5f342c',
    950: '#000000',
  },
}
SCSS
$custom: #5f342c;
$custom-light: #8f6c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f342c",
  "rgb": {
    "r": 95,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 9.412,
    "s": 36.691,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.06395,
    "h": 31.5
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#5F342C
secondary
#568891
accent
#BBCD5B
background
#F9F6F6
surface
#F1EBEB
border
#CBC6C6
text
#0D0705
muted
#7E7A7A

Preview Lab

Preview with #5F342C

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

Preview Lab → · Contrast checker → · Palette generator →

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