#5E261F#5E261F

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

Color values

HEX#5E261F
RGBrgb(94, 38, 31)
HSLhsl(7, 50%, 25%)
HSVhsv(7, 67%, 37%)
CMYKcmyk(0%, 59.6%, 67%, 63.1%)
CIE-LABlab(23.22, 25.00, 17.16)
CIE-LCHlch(23.22, 30.32, 34.46°)
OKLaboklab(34.76% 0.073 0.0409)
OKLCHoklch(34.76% 0.084 29.2)
XYZxyz(5.5570, 3.8655, 1.7495)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E261F #1F575E
analogous
#5E1F38 #5E261F #5E461F
triadic
#5E261F #1F5E26 #261F5E
tetradic
#5E261F #385E1F #1F575E #461F5E
square
#5E261F #385E1F #1F575E #461F5E
split-complementary
#5E261F #1F5E46 #1F385E
monochromatic
#170908 #301310 #5E261F #8C392E #BA4B3D

Accessibility & contrast

On white

11.84
#5E261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E261F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E261F#FFFFFF#000000##FFFFFF
##5E261F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e261f;
/* rgb */ color: rgb(94, 38, 31);
/* oklch */ color: oklch(34.8% 0.084 29.2);
Tailwind
colors: {
  custom: {
    50: '#90625a',
    500: '#5e261f',
    950: '#000000',
  },
}
SCSS
$custom: #5e261f;
$custom-light: #90625a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e261f",
  "rgb": {
    "r": 94,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 6.667,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34764,
    "c": 0.08366,
    "h": 29.2
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#5E261F
secondary
#468A93
accent
#CADA4E
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5E261F

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

Preview Lab → · Contrast checker → · Palette generator →

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