#5F2829#5F2829

#5F2829 is a dark, moderate red. Relative luminance 0.041; OKLCH L 35.5% C 0.081 H 20.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#5F2829
RGBrgb(95, 40, 41)
HSLhsl(359, 41%, 26%)
HSVhsv(359, 58%, 37%)
CMYKcmyk(0%, 57.9%, 56.8%, 62.7%)
CIE-LABlab(24.04, 25.17, 11.57)
CIE-LCHlch(24.04, 27.70, 24.69°)
OKLaboklab(35.48% 0.0752 0.0288)
OKLCHoklch(35.48% 0.081 20.9)
XYZxyz(5.8788, 4.1113, 2.5814)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2829 #285F5E
analogous
#5F2845 #5F2829 #5F4328
triadic
#5F2829 #295F28 #28295F
tetradic
#5F2829 #455F28 #285F5E #43285F
square
#5F2829 #455F28 #285F5E #43285F
split-complementary
#5F2829 #285F43 #28455F
monochromatic
#160909 #341616 #5F2829 #8A3A3C #B44D4F

Accessibility & contrast

On white

11.52
#5F2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5F2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2829
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2829#FFFFFF#000000##FFFFFF
##5F28291.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#423D28
Tritanopia (blue-blind)
#681F29
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f2829;
/* rgb */ color: rgb(95, 40, 41);
/* oklch */ color: oklch(35.5% 0.081 20.9);
Tailwind
colors: {
  custom: {
    50: '#906462',
    500: '#5f2829',
    950: '#000000',
  },
}
SCSS
$custom: #5f2829;
$custom-light: #906462;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2829",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 358.909,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35481,
    "c": 0.08051,
    "h": 20.9
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#5F2829
secondary
#519291
accent
#D1CE57
background
#F9F6F5
surface
#F1EBEA
border
#CBC6C6
text
#0D0505
muted
#7E7A79

Preview Lab

Preview with #5F2829

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

Preview Lab → · Contrast checker → · Palette generator →

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