#5C1223#5C1223

#5C1223 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.106 H 12.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5C1223
RGBrgb(92, 18, 35)
HSLhsl(346, 67%, 22%)
HSVhsv(346, 80%, 36%)
CMYKcmyk(0%, 80.4%, 62%, 63.9%)
CIE-LABlab(19.35, 34.15, 9.29)
CIE-LCHlch(19.35, 35.39, 15.22°)
OKLaboklab(31.82% 0.103 0.0231)
OKLCHoklch(31.82% 0.106 12.6)
XYZxyz(4.9338, 2.8300, 1.8762)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1223 #125C4B
analogous
#5C1248 #5C1223 #5C2612
triadic
#5C1223 #235C12 #12235C
tetradic
#5C1223 #485C12 #125C4B #26125C
square
#5C1223 #485C12 #125C4B #26125C
split-complementary
#5C1223 #125C26 #12485C
monochromatic
#1A050A #290810 #5C1223 #8F1C36 #C2264A

Accessibility & contrast

On white

13.41
#5C1223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C1223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1223
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1223#FFFFFF#000000##FFFFFF
##5C12231.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262523
Deuteranopia (green-blind)
#393421
Tritanopia (blue-blind)
#650019
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1223;
/* rgb */ color: rgb(92, 18, 35);
/* oklch */ color: oklch(31.8% 0.106 12.6);
Tailwind
colors: {
  custom: {
    50: '#8f575d',
    500: '#5c1223',
    950: '#000000',
  },
}
SCSS
$custom: #5c1223;
$custom-light: #8f575d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1223",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 346.216,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31817,
    "c": 0.1056,
    "h": 12.6
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#5C1223
secondary
#35947F
accent
#EAC33E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C1223

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

Preview Lab → · Contrast checker → · Palette generator →

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