#5F2124#5F2124

#5F2124 is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.3% C 0.091 H 20.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#5F2124
RGBrgb(95, 33, 36)
HSLhsl(357, 48%, 25%)
HSVhsv(357, 65%, 37%)
CMYKcmyk(0%, 65.3%, 62.1%, 62.7%)
CIE-LABlab(22.47, 28.51, 12.88)
CIE-LCHlch(22.47, 31.29, 24.31°)
OKLaboklab(34.27% 0.0849 0.0315)
OKLCHoklch(34.27% 0.091 20.4)
XYZxyz(5.5821, 3.6487, 2.0790)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2124 #215F5C
analogous
#5F2143 #5F2124 #5F3D21
triadic
#5F2124 #245F21 #21245F
tetradic
#5F2124 #435F21 #215F5C #3D215F
square
#5F2124 #435F21 #215F5C #3D215F
split-complementary
#5F2124 #215F3D #21435F
monochromatic
#170809 #321113 #5F2124 #8C3135 #BA4146

Accessibility & contrast

On white

12.14
#5F2124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F2124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2124
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2124#FFFFFF#000000##FFFFFF
##5F21241.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302E24
Deuteranopia (green-blind)
#403B22
Tritanopia (blue-blind)
#681623
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f2124;
/* rgb */ color: rgb(95, 33, 36);
/* oklch */ color: oklch(34.3% 0.091 20.4);
Tailwind
colors: {
  custom: {
    50: '#915f5e',
    500: '#5f2124',
    950: '#000000',
  },
}
SCSS
$custom: #5f2124;
$custom-light: #915f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2124",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 357.097,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34268,
    "c": 0.09055,
    "h": 20.4
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#5F2124
secondary
#499390
accent
#D8D150
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5F2124

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

Preview Lab → · Contrast checker → · Palette generator →

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