#5C1023#5C1023

#5C1023 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 11.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#5C1023
RGBrgb(92, 16, 35)
HSLhsl(345, 70%, 21%)
HSVhsv(345, 83%, 36%)
CMYKcmyk(0%, 82.6%, 62%, 63.9%)
CIE-LABlab(19.09, 34.88, 8.94)
CIE-LCHlch(19.09, 36.00, 14.37°)
OKLaboklab(31.62% 0.1054 0.0223)
OKLCHoklch(31.62% 0.108 11.9)
XYZxyz(4.9028, 2.7680, 1.8659)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1023 #105C49
analogous
#5C1049 #5C1023 #5C2310
triadic
#5C1023 #235C10 #10235C
tetradic
#5C1023 #495C10 #105C49 #23105C
square
#5C1023 #495C10 #105C49 #23105C
split-complementary
#5C1023 #105C23 #10495C
monochromatic
#1A050A #28070F #5C1023 #901937 #C4224B

Accessibility & contrast

On white

13.52
#5C1023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C1023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1023
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1023#FFFFFF#000000##FFFFFF
##5C10231.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252423
Deuteranopia (green-blind)
#383421
Tritanopia (blue-blind)
#650018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1023;
/* rgb */ color: rgb(92, 16, 35);
/* oklch */ color: oklch(31.6% 0.108 11.9);
Tailwind
colors: {
  custom: {
    50: '#8f565d',
    500: '#5c1023',
    950: '#000000',
  },
}
SCSS
$custom: #5c1023;
$custom-light: #8f565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1023",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 345,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.10772,
    "h": 11.9
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#5C1023
secondary
#33957D
accent
#EDC13B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C1023

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

Preview Lab → · Contrast checker → · Palette generator →

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