#5F261B#5F261B

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

Color values

HEX#5F261B
RGBrgb(95, 38, 27)
HSLhsl(10, 56%, 24%)
HSVhsv(10, 72%, 37%)
CMYKcmyk(0%, 60%, 71.6%, 62.7%)
CIE-LABlab(23.33, 25.14, 19.94)
CIE-LCHlch(23.33, 32.09, 38.42°)
OKLaboklab(34.86% 0.0725 0.0464)
OKLCHoklch(34.86% 0.086 32.6)
XYZxyz(5.6108, 3.8990, 1.4938)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F261B #1B545F
analogous
#5F1B32 #5F261B #5F481B
triadic
#5F261B #1B5F26 #261B5F
tetradic
#5F261B #325F1B #1B545F #481B5F
square
#5F261B #325F1B #1B545F #481B5F
split-complementary
#5F261B #1B5F48 #1B325F
monochromatic
#180A07 #2F130D #5F261B #8F3929 #BE4C36

Accessibility & contrast

On white

11.80
#5F261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F261B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F261B#FFFFFF#000000##FFFFFF
##5F261B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#691B24
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f261b;
/* rgb */ color: rgb(95, 38, 27);
/* oklch */ color: oklch(34.9% 0.086 32.6);
Tailwind
colors: {
  custom: {
    50: '#916257',
    500: '#5f261b',
    950: '#000000',
  },
}
SCSS
$custom: #5f261b;
$custom-light: #916257;
$custom-dark: #000000;
JSON
{
  "hex": "#5f261b",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 9.706,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34863,
    "c": 0.08608,
    "h": 32.6
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#5F261B
secondary
#418795
accent
#C7DF49
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F261B

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

Preview Lab → · Contrast checker → · Palette generator →

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