#5C1012#5C1012

#5C1012 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 24.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#5C1012
RGBrgb(92, 16, 18)
HSLhsl(358, 70%, 21%)
HSVhsv(358, 83%, 36%)
CMYKcmyk(0%, 82.6%, 80.4%, 63.9%)
CIE-LABlab(18.76, 33.82, 20.28)
CIE-LCHlch(18.76, 39.43, 30.95°)
OKLaboklab(31.27% 0.098 0.0456)
OKLCHoklch(31.27% 0.108 24.9)
XYZxyz(4.7087, 2.6903, 0.8435)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1012 #105C5A
analogous
#5C1038 #5C1012 #5C3410
triadic
#5C1012 #125C10 #10125C
tetradic
#5C1012 #385C10 #105C5A #34105C
square
#5C1012 #385C10 #105C5A #34105C
split-complementary
#5C1012 #105C34 #10385C
monochromatic
#1A0505 #280708 #5C1012 #90191C #C42226

Accessibility & contrast

On white

13.65
#5C1012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5C1012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1012
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1012#FFFFFF#000000##FFFFFF
##5C10121.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#660012
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1012;
/* rgb */ color: rgb(92, 16, 18);
/* oklch */ color: oklch(31.3% 0.108 24.9);
Tailwind
colors: {
  custom: {
    50: '#915650',
    500: '#5c1012',
    950: '#000000',
  },
}
SCSS
$custom: #5c1012;
$custom-light: #915650;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1012",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 358.421,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31272,
    "c": 0.10811,
    "h": 24.9
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#5C1012
secondary
#339593
accent
#EDE83B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1012

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

Preview Lab → · Contrast checker → · Palette generator →

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