#5F291B#5F291B

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

Color values

HEX#5F291B
RGBrgb(95, 41, 27)
HSLhsl(12, 56%, 24%)
HSVhsv(12, 72%, 37%)
CMYKcmyk(0%, 56.8%, 71.6%, 62.7%)
CIE-LABlab(23.99, 23.44, 20.72)
CIE-LCHlch(23.99, 31.29, 41.48°)
OKLaboklab(35.36% 0.0672 0.0482)
OKLCHoklch(35.36% 0.083 35.6)
XYZxyz(5.7106, 4.0986, 1.5271)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F291B #1B515F
analogous
#5F1B2F #5F291B #5F4B1B
triadic
#5F291B #1B5F29 #291B5F
tetradic
#5F291B #2F5F1B #1B515F #4B1B5F
square
#5F291B #2F5F1B #1B515F #4B1B5F
split-complementary
#5F291B #1B5F4B #1B2F5F
monochromatic
#180A07 #2F140D #5F291B #8F3E29 #BE5236

Accessibility & contrast

On white

11.54
#5F291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F291B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F291B#FFFFFF#000000##FFFFFF
##5F291B1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373219
Deuteranopia (green-blind)
#443E1A
Tritanopia (blue-blind)
#691E26
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f291b;
/* rgb */ color: rgb(95, 41, 27);
/* oklch */ color: oklch(35.4% 0.083 35.6);
Tailwind
colors: {
  custom: {
    50: '#916457',
    500: '#5f291b',
    950: '#000000',
  },
}
SCSS
$custom: #5f291b;
$custom-light: #916457;
$custom-dark: #000000;
JSON
{
  "hex": "#5f291b",
  "rgb": {
    "r": 95,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 12.353,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35364,
    "c": 0.08269,
    "h": 35.6
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#5F291B
secondary
#418395
accent
#C0DF49
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5F291B

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

Preview Lab → · Contrast checker → · Palette generator →

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