#5C2129#5C2129

#5C2129 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.9% C 0.087 H 14.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#5C2129
RGBrgb(92, 33, 41)
HSLhsl(352, 47%, 25%)
HSVhsv(352, 64%, 36%)
CMYKcmyk(0%, 64.1%, 55.4%, 63.9%)
CIE-LABlab(22.03, 27.80, 8.76)
CIE-LCHlch(22.03, 29.14, 17.49°)
OKLaboklab(33.86% 0.0838 0.0221)
OKLCHoklch(33.86% 0.087 14.8)
XYZxyz(5.3582, 3.5238, 2.4954)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2129 #215C54
analogous
#5C2147 #5C2129 #5C3721
triadic
#5C2129 #295C21 #21295C
tetradic
#5C2129 #475C21 #215C54 #37215C
square
#5C2129 #475C21 #215C54 #37215C
split-complementary
#5C2129 #215C37 #21475C
monochromatic
#17080A #2F1115 #5C2129 #89313D #B64151

Accessibility & contrast

On white

12.32
#5C2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5C2129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2129
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2129#FFFFFF#000000##FFFFFF
##5C21291.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D29
Deuteranopia (green-blind)
#3D3928
Tritanopia (blue-blind)
#651824
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c2129;
/* rgb */ color: rgb(92, 33, 41);
/* oklch */ color: oklch(33.9% 0.087 14.8);
Tailwind
colors: {
  custom: {
    50: '#8e5f62',
    500: '#5c2129',
    950: '#000000',
  },
}
SCSS
$custom: #5c2129;
$custom-light: #8e5f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2129",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 351.864,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33864,
    "c": 0.08662,
    "h": 14.8
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#5C2129
secondary
#499087
accent
#D7C551
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0505
muted
#7E7979

Preview Lab

Preview with #5C2129

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

Preview Lab → · Contrast checker → · Palette generator →

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