#5F261A#5F261A

#5F261A is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.8% C 0.086 H 33.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5F261A
RGBrgb(95, 38, 26)
HSLhsl(10, 57%, 24%)
HSVhsv(10, 73%, 37%)
CMYKcmyk(0%, 60%, 72.6%, 62.7%)
CIE-LABlab(23.32, 25.07, 20.56)
CIE-LCHlch(23.32, 32.43, 39.35°)
OKLaboklab(34.85% 0.0721 0.0476)
OKLCHoklch(34.85% 0.086 33.5)
XYZxyz(5.5994, 3.8944, 1.4339)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F261A #1A535F
analogous
#5F1A30 #5F261A #5F481A
triadic
#5F261A #1A5F26 #261A5F
tetradic
#5F261A #305F1A #1A535F #481A5F
square
#5F261A #305F1A #1A535F #481A5F
split-complementary
#5F261A #1A5F48 #1A305F
monochromatic
#180A07 #2F130D #5F261A #8F3927 #BF4C34

Accessibility & contrast

On white

11.81
#5F261A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F261A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F261A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F261A#FFFFFF#000000##FFFFFF
##5F261A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#691A23
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f261a;
/* rgb */ color: rgb(95, 38, 26);
/* oklch */ color: oklch(34.8% 0.086 33.5);
Tailwind
colors: {
  custom: {
    50: '#916257',
    500: '#5f261a',
    950: '#000000',
  },
}
SCSS
$custom: #5f261a;
$custom-light: #916257;
$custom-dark: #000000;
JSON
{
  "hex": "#5f261a",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 26
  },
  "hsl": {
    "h": 10.435,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34847,
    "c": 0.08638,
    "h": 33.5
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#5F261A
secondary
#408695
accent
#C6E048
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F261A

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

Preview Lab → · Contrast checker → · Palette generator →

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