#5F291F#5F291F

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

Color values

HEX#5F291F
RGBrgb(95, 41, 31)
HSLhsl(9, 51%, 25%)
HSVhsv(9, 67%, 37%)
CMYKcmyk(0%, 56.8%, 67.4%, 62.7%)
CIE-LABlab(24.06, 23.73, 18.23)
CIE-LCHlch(24.06, 29.93, 37.54°)
OKLaboklab(35.43% 0.0689 0.0432)
OKLCHoklch(35.43% 0.081 32.1)
XYZxyz(5.7601, 4.1184, 1.7877)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F291F #1F555F
analogous
#5F1F35 #5F291F #5F491F
triadic
#5F291F #1F5F29 #291F5F
tetradic
#5F291F #355F1F #1F555F #491F5F
square
#5F291F #355F1F #1F555F #491F5F
split-complementary
#5F291F #1F5F49 #1F355F
monochromatic
#170A08 #311510 #5F291F #8D3D2E #BB513D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F291F#FFFFFF#000000##FFFFFF
##5F291F1.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)
#37321E
Deuteranopia (green-blind)
#443E1E
Tritanopia (blue-blind)
#681F27
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f291f;
/* rgb */ color: rgb(95, 41, 31);
/* oklch */ color: oklch(35.4% 0.081 32.1);
Tailwind
colors: {
  custom: {
    50: '#91645a',
    500: '#5f291f',
    950: '#000000',
  },
}
SCSS
$custom: #5f291f;
$custom-light: #91645a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f291f",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 9.375,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.08136,
    "h": 32.1
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#5F291F
secondary
#468894
accent
#C4DA4E
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0504
muted
#7E7A79

Preview Lab

Preview with #5F291F

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

Preview Lab → · Contrast checker → · Palette generator →

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