#5F291D#5F291D

#5F291D is a dark, moderate red. Relative luminance 0.041; OKLCH L 35.4% C 0.082 H 33.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5F291D
RGBrgb(95, 41, 29)
HSLhsl(11, 53%, 24%)
HSVhsv(11, 69%, 37%)
CMYKcmyk(0%, 56.8%, 69.5%, 62.7%)
CIE-LABlab(24.03, 23.58, 19.49)
CIE-LCHlch(24.03, 30.59, 39.57°)
OKLaboklab(35.4% 0.0681 0.0457)
OKLCHoklch(35.4% 0.082 33.9)
XYZxyz(5.7345, 4.1082, 1.6531)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F291D #1D535F
analogous
#5F1D32 #5F291D #5F4A1D
triadic
#5F291D #1D5F29 #291D5F
tetradic
#5F291D #325F1D #1D535F #4A1D5F
square
#5F291D #325F1D #1D535F #4A1D5F
split-complementary
#5F291D #1D5F4A #1D325F
monochromatic
#170A07 #30150F #5F291D #8E3D2B #BD513A

Accessibility & contrast

On white

11.53
#5F291D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5F291D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F291D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F291D#FFFFFF#000000##FFFFFF
##5F291D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#443E1C
Tritanopia (blue-blind)
#681F26
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f291d;
/* rgb */ color: rgb(95, 41, 29);
/* oklch */ color: oklch(35.4% 0.082 33.9);
Tailwind
colors: {
  custom: {
    50: '#916459',
    500: '#5f291d',
    950: '#000000',
  },
}
SCSS
$custom: #5f291d;
$custom-light: #916459;
$custom-dark: #000000;
JSON
{
  "hex": "#5f291d",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 29
  },
  "hsl": {
    "h": 10.909,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35398,
    "c": 0.08201,
    "h": 33.9
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#5F291D
secondary
#448594
accent
#C2DD4B
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5F291D

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

Preview Lab → · Contrast checker → · Palette generator →

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