#5E2829#5E2829

#5E2829 is a dark, moderate red. Relative luminance 0.041; OKLCH L 35.3% C 0.079 H 20.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#5E2829
RGBrgb(94, 40, 41)
HSLhsl(359, 40%, 26%)
HSVhsv(359, 57%, 37%)
CMYKcmyk(0%, 57.4%, 56.4%, 63.1%)
CIE-LABlab(23.86, 24.75, 11.31)
CIE-LCHlch(23.86, 27.21, 24.56°)
OKLaboklab(35.32% 0.074 0.0282)
OKLCHoklch(35.32% 0.079 20.8)
XYZxyz(5.7756, 4.0580, 2.5765)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2829 #285E5D
analogous
#5E2844 #5E2829 #5E4228
triadic
#5E2829 #295E28 #28295E
tetradic
#5E2829 #445E28 #285E5D #42285E
square
#5E2829 #445E28 #285E5D #42285E
split-complementary
#5E2829 #285E42 #28445E
monochromatic
#150909 #331616 #5E2829 #893A3C #B34D4F

Accessibility & contrast

On white

11.59
#5E2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2829
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2829#FFFFFF#000000##FFFFFF
##5E28291.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#423D28
Tritanopia (blue-blind)
#672029
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e2829;
/* rgb */ color: rgb(94, 40, 41);
/* oklch */ color: oklch(35.3% 0.079 20.8);
Tailwind
colors: {
  custom: {
    50: '#8f6462',
    500: '#5e2829',
    950: '#000000',
  },
}
SCSS
$custom: #5e2829;
$custom-light: #8f6462;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2829",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 358.889,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.07917,
    "h": 20.8
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#5E2829
secondary
#519190
accent
#D0CE58
background
#F9F6F5
surface
#F1EBEA
border
#CBC6C6
text
#0D0505
muted
#7E7A79

Preview Lab

Preview with #5E2829

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

Preview Lab → · Contrast checker → · Palette generator →

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