#5F261F#5F261F

#5F261F is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.9% C 0.085 H 29.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5F261F
RGBrgb(95, 38, 31)
HSLhsl(7, 51%, 25%)
HSVhsv(7, 67%, 37%)
CMYKcmyk(0%, 60%, 67.4%, 62.7%)
CIE-LABlab(23.40, 25.42, 17.42)
CIE-LCHlch(23.40, 30.82, 34.42°)
OKLaboklab(34.94% 0.0742 0.0414)
OKLCHoklch(34.94% 0.085 29.2)
XYZxyz(5.6603, 3.9188, 1.7544)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F261F #1F585F
analogous
#5F1F38 #5F261F #5F461F
triadic
#5F261F #1F5F26 #261F5F
tetradic
#5F261F #385F1F #1F585F #461F5F
square
#5F261F #385F1F #1F585F #461F5F
split-complementary
#5F261F #1F5F46 #1F385F
monochromatic
#170908 #311410 #5F261F #8D382E #BB4B3D

Accessibility & contrast

On white

11.77
#5F261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F261F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F261F#FFFFFF#000000##FFFFFF
##5F261F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#433C1E
Tritanopia (blue-blind)
#681B25
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f261f;
/* rgb */ color: rgb(95, 38, 31);
/* oklch */ color: oklch(34.9% 0.085 29.2);
Tailwind
colors: {
  custom: {
    50: '#91625a',
    500: '#5f261f',
    950: '#000000',
  },
}
SCSS
$custom: #5f261f;
$custom-light: #91625a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f261f",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 6.563,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34935,
    "c": 0.08497,
    "h": 29.2
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#5F261F
secondary
#468B94
accent
#CBDA4E
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5F261F

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

Preview Lab → · Contrast checker → · Palette generator →

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