#5F291E#5F291E

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

Color values

HEX#5F291E
RGBrgb(95, 41, 30)
HSLhsl(10, 52%, 25%)
HSVhsv(10, 68%, 37%)
CMYKcmyk(0%, 56.8%, 68.4%, 62.7%)
CIE-LABlab(24.04, 23.65, 18.86)
CIE-LCHlch(24.04, 30.25, 38.57°)
OKLaboklab(35.42% 0.0685 0.0445)
OKLCHoklch(35.42% 0.082 33)
XYZxyz(5.7471, 4.1132, 1.7193)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F291E #1E545F
analogous
#5F1E34 #5F291E #5F4A1E
triadic
#5F291E #1E5F29 #291E5F
tetradic
#5F291E #345F1E #1E545F #4A1E5F
square
#5F291E #345F1E #1E545F #4A1E5F
split-complementary
#5F291E #1E5F4A #1E345F
monochromatic
#170A07 #30150F #5F291E #8E3D2D #BC513B

Accessibility & contrast

On white

11.52
#5F291E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F291E
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F291E#FFFFFF#000000##FFFFFF
##5F291E1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f291e;
/* rgb */ color: rgb(95, 41, 30);
/* oklch */ color: oklch(35.4% 0.082 33.0);
Tailwind
colors: {
  custom: {
    50: '#91645a',
    500: '#5f291e',
    950: '#000000',
  },
}
SCSS
$custom: #5f291e;
$custom-light: #91645a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f291e",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 10.154,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35416,
    "c": 0.08169,
    "h": 33
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#5F291E
secondary
#458794
accent
#C3DB4C
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5F291E

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

Preview Lab → · Contrast checker → · Palette generator →

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