#5E281F#5E281F

#5E281F is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.1% C 0.081 H 31.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#5E281F
RGBrgb(94, 40, 31)
HSLhsl(9, 50%, 25%)
HSVhsv(9, 67%, 37%)
CMYKcmyk(0%, 57.4%, 67%, 63.1%)
CIE-LABlab(23.66, 23.87, 17.70)
CIE-LCHlch(23.66, 29.72, 36.56°)
OKLaboklab(35.1% 0.0695 0.0421)
OKLCHoklch(35.1% 0.081 31.2)
XYZxyz(5.6227, 3.9969, 1.7714)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E281F #1F555E
analogous
#5E1F36 #5E281F #5E481F
triadic
#5E281F #1F5E28 #281F5E
tetradic
#5E281F #365E1F #1F555E #481F5E
square
#5E281F #365E1F #1F555E #481F5E
split-complementary
#5E281F #1F5E48 #1F365E
monochromatic
#170A08 #301410 #5E281F #8C3C2E #BA4F3D

Accessibility & contrast

On white

11.67
#5E281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E281F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E281F#FFFFFF#000000##FFFFFF
##5E281F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#433D1E
Tritanopia (blue-blind)
#671E26
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e281f;
/* rgb */ color: rgb(94, 40, 31);
/* oklch */ color: oklch(35.1% 0.081 31.2);
Tailwind
colors: {
  custom: {
    50: '#90645a',
    500: '#5e281f',
    950: '#000000',
  },
}
SCSS
$custom: #5e281f;
$custom-light: #90645a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e281f",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 8.571,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.08123,
    "h": 31.2
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#5E281F
secondary
#468893
accent
#C6DA4E
background
#F9F6F5
surface
#F1EBE9
border
#CBC6C5
text
#0D0504
muted
#7E7A79

Preview Lab

Preview with #5E281F

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

Preview Lab → · Contrast checker → · Palette generator →

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