#5D261F#5D261F

#5D261F is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.6% C 0.082 H 29.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#5D261F
RGBrgb(93, 38, 31)
HSLhsl(7, 50%, 24%)
HSVhsv(7, 67%, 36%)
CMYKcmyk(0%, 59.1%, 66.7%, 63.5%)
CIE-LABlab(23.04, 24.58, 16.89)
CIE-LCHlch(23.04, 29.82, 34.50°)
OKLaboklab(34.59% 0.0718 0.0403)
OKLCHoklch(34.59% 0.082 29.3)
XYZxyz(5.4551, 3.8130, 1.7448)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D261F #1F565D
analogous
#5D1F37 #5D261F #5D451F
triadic
#5D261F #1F5D26 #261F5D
tetradic
#5D261F #375D1F #1F565D #451F5D
square
#5D261F #375D1F #1F565D #451F5D
split-complementary
#5D261F #1F5D45 #1F375D
monochromatic
#170908 #2F1310 #5D261F #8B392E #B94C3E

Accessibility & contrast

On white

11.92
#5D261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5D261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D261F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D261F#FFFFFF#000000##FFFFFF
##5D261F1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#423B1E
Tritanopia (blue-blind)
#661C25
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d261f;
/* rgb */ color: rgb(93, 38, 31);
/* oklch */ color: oklch(34.6% 0.082 29.3);
Tailwind
colors: {
  custom: {
    50: '#8f625a',
    500: '#5d261f',
    950: '#000000',
  },
}
SCSS
$custom: #5d261f;
$custom-light: #8f625a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d261f",
  "rgb": {
    "r": 93,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 6.774,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34594,
    "c": 0.08234,
    "h": 29.3
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#5D261F
secondary
#468992
accent
#CADA4E
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5D261F

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

Preview Lab → · Contrast checker → · Palette generator →

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