#5F261C#5F261C

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

Color values

HEX#5F261C
RGBrgb(95, 38, 28)
HSLhsl(9, 54%, 24%)
HSVhsv(9, 71%, 37%)
CMYKcmyk(0%, 60%, 70.5%, 62.7%)
CIE-LABlab(23.35, 25.21, 19.31)
CIE-LCHlch(23.35, 31.76, 37.46°)
OKLaboklab(34.88% 0.0729 0.0452)
OKLCHoklch(34.88% 0.086 31.8)
XYZxyz(5.6226, 3.9037, 1.5558)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F261C #1C555F
analogous
#5F1C34 #5F261C #5F481C
triadic
#5F261C #1C5F26 #261C5F
tetradic
#5F261C #345F1C #1C555F #481C5F
square
#5F261C #345F1C #1C555F #481C5F
split-complementary
#5F261C #1C5F48 #1C345F
monochromatic
#180907 #30130E #5F261C #8E392A #BE4C38

Accessibility & contrast

On white

11.79
#5F261C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F261C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F261C#FFFFFF#000000##FFFFFF
##5F261C1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f261c;
/* rgb */ color: rgb(95, 38, 28);
/* oklch */ color: oklch(34.9% 0.086 31.8);
Tailwind
colors: {
  custom: {
    50: '#916258',
    500: '#5f261c',
    950: '#000000',
  },
}
SCSS
$custom: #5f261c;
$custom-light: #916258;
$custom-dark: #000000;
JSON
{
  "hex": "#5f261c",
  "rgb": {
    "r": 95,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 8.955,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.08579,
    "h": 31.8
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#5F261C
secondary
#428894
accent
#C8DE4A
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5F261C

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

Preview Lab → · Contrast checker → · Palette generator →

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