#5D2829#5D2829

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

Color values

HEX#5D2829
RGBrgb(93, 40, 41)
HSLhsl(359, 40%, 26%)
HSVhsv(359, 57%, 36%)
CMYKcmyk(0%, 57%, 55.9%, 63.5%)
CIE-LABlab(23.69, 24.33, 11.05)
CIE-LCHlch(23.69, 26.72, 24.42°)
OKLaboklab(35.15% 0.0728 0.0276)
OKLCHoklch(35.15% 0.078 20.7)
XYZxyz(5.6737, 4.0055, 2.5717)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2829 #285D5C
analogous
#5D2843 #5D2829 #5D4128
triadic
#5D2829 #295D28 #28295D
tetradic
#5D2829 #435D28 #285D5C #41285D
square
#5D2829 #435D28 #285D5C #41285D
split-complementary
#5D2829 #285D41 #28435D
monochromatic
#150909 #321616 #5D2829 #883A3C #B24D4F

Accessibility & contrast

On white

11.66
#5D2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2829
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2829#FFFFFF#000000##FFFFFF
##5D28291.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#413D28
Tritanopia (blue-blind)
#662029
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d2829;
/* rgb */ color: rgb(93, 40, 41);
/* oklch */ color: oklch(35.1% 0.078 20.7);
Tailwind
colors: {
  custom: {
    50: '#8e6462',
    500: '#5d2829',
    950: '#000000',
  },
}
SCSS
$custom: #5d2829;
$custom-light: #8e6462;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2829",
  "rgb": {
    "r": 93,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 358.868,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.07783,
    "h": 20.7
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#5D2829
secondary
#51908F
accent
#D0CD58
background
#F9F6F5
surface
#F1EBEA
border
#CBC6C6
text
#0D0505
muted
#7E7A79

Preview Lab

Preview with #5D2829

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

Preview Lab → · Contrast checker → · Palette generator →

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